practice(poem)

 HTML

<html lang ="en">
    <head>
    <meta charset ="UTF-8" />
    <meta http-equiv ="X-UA-Compatible" content="IE=edge" />
    <meta name ="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel ="stylesheet" href="practice2.css" />
    <title>CCS Assignment-1</title>
  </head>
  <body style="background-color: wheat;">
    <!--PoemName-->
    <h1>Ozymandias</h1>
    <!--Poet'sName-->
    <h3>by Percy ByssheShelley</h3>
    <!--Poem-->
    <p>
      I met a traveller from an antique land,<br />
      Who said—“Two vast and trunkless legs of stone<br />
      Stand in the desert....Near them,on the sand,<br/>
  Half sunk a shattered visage lies,whose frown,<br/>
  And wrinkled lip,and sneer of cold command,<br/>
  Tell that its sculptor well those passions read<br/>
  Which yet survive,stamped on these lifeless things,<br/>
  The hand that mocked them,and the heart that fed;<br/>
  And on the pedestal,these words appear:<br/>
  My name is <span>Ozymandias</span> ,King of Kings;<br/>
  Look on my Works,ye Mighty,and despair!<br/>
  Nothing beside remains.Round the decay<br/>
  Of that colossalWreck,boundless and bare<br/>
  The lone and level sands stretch far away.”<br/>
</p>
<hr/>
  <h4>Read up more about the poem on<a href="https://en.wikipedia.org/wiki/Ozymandias">Wikipedia</a>
</h4>
  <text areaplaceholder="Leaveyourcommentshere..."></textarea>
    <br/><br/>
    <button>Comment</button>
</body>
</html>

CSS

/* 2 */
p {
  color: #a52a2a;
  /* 3 */
  text-align: center;
}

p {
  color: red;
}

h1 {
  color: black;
  text-align: center;
}
h3 {
  text-align: center;
}
h4 {
  text-align: center;
}
body {
  font-family: "georgia";
}
a {
  color:rgb(0,243,0);
  text-decoration: none;
}
button {
  background-color: white;
  color: blue;
}
textarea {
  color:#000000;
}
p {
  line-height: 30px;
}
span {
  text-decoration: underline;
}

Comments

Popular posts from this blog

Assignment

OverFlow

FRONT-END PROJECT SPOTIFY CLONE