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

Chapter 14. Setting up Style Sheets > Creating Custom HTML Tags

Creating Custom HTML Tags

HTML 4 includes two generic tags that can be combined with classes (see page 249) and ID (see page 250) in order to create custom HTML tags.

Block-level vs. Inline

It's important to note the distinction between block-level and inline HTML elements. Block-level elements, like paragraphs, generally begin on a new line, and can contain other block-level elements, inline elements, and text. The P tag is the quintessential block-level tag, as are BODY, H1, TABLE, and others.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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