Explain about span tag in html.

  Explain about span tag in html.
HTML no longer supports the idea of modifying individual items in a place. A simple and efficient model has been derived based around the span tag span’s are used as follows.

- - - - -

Eg: < p > my puppy has < span style = “ color: blue”> blue eyes
The HTML tag is used for grouping and applying styles to inline elements.
There is a difference between the span tag and the div tag. The span tag is used with inline elements whilst the div tag is used with block-level content.
      HTML span Tag
      This is a paragraph
         This is a paragraphThis is a paragraph
         This is another paragraph


Web Technology 5333459175127917611

Post a Comment