• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 2. HTML AND ITS RELATIONSHIP TO CSS > The <SPAN> and <DIV> Tags

The <SPAN> and <DIV> Tags

Other HTML tags can be used to apply CSS to a specific section of a Web page, enabling the Web author to set special CSS characteristics for that section, visually differentiating it from the rest of the Web page. This can be accomplished by using the <SPAN> and <DIV> tags.

<SPAN> … </SPAN>

Description: Designed to set CSS information for a specific inline section within a Web page.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint