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

Redefining an HTML Tag

You can redefine HTML tags by using CSS styles. You apply these styles by applying the HTML tags as you normally would. For instance, you apply the <h3> tag by selecting Heading 3 from the Format drop-down menu in the Property inspector. Text formatted with the <h3> tag by default appears in a large italic font, slightly indented from the left margin, with one or two blank lines above and below. After you redefine the <h3> tag, any text with that tag applied to it immediately appears with the new CSS formatting.

Did you Know?: Use Less Classes

Web page developers who are new to CSS often use a lot of classes to apply CSS to their pages. But as you become more savvy, you'll begin to think of ways to use HTML tag CSS rules and selectors (you'll learn about those later this hour) instead.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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