Computer Science, asked by Georgeanuragray, 9 months ago

differentiate between container tag and empty tag​

Answers

Answered by simran7539
4

Answer:

&lt;!DOCTYPE html&gt;</p><p>&lt;html&gt;</p><p>&lt;head&gt;</p><p>&lt;meta name="viewport" content="width=device-width, initial-scale=1"&gt;</p><p>&lt;style&gt;</p><p>body {</p><p>  background-color: black;</p><p>  font-family: cursive;</p><p>}</p><p></p><p>.glow {</p><p>  font-size: 30px;</p><p>  color: #fff;</p><p>  text-align: center;</p><p>  -webkit-animation: glow 1s ease-in-out infinite alternate;</p><p>  -moz-animation: glow 1s ease-in-out infinite alternate;</p><p>  animation: glow 1s ease-in-out infinite alternate;</p><p>}</p><p></p><p>@-webkit-keyframes glow {</p><p>  from {</p><p>    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;</p><p>  }</p><p>  </p><p>  to {</p><p>    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;</p><p>  }</p><p>}</p><p>&lt;/style&gt;</p><p>&lt;/head&gt;</p><p>&lt;body&gt;</p><p>&lt;h1 class ="glow"&gt; Container tag consists of opening tag+content+closing tag . While empty tag is tag without content or a closing tag. Container tags are used to enclose texts, images etc. ... Like if we want to insert an image or a line-break or a horizontal-line , we use &lt;img /&gt;, &lt;br /&gt;, &lt;hr /&gt; tags respectively.&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;

Similar questions