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

Chapter 40. Working with HTML Code > Reviewing HTML Basics

Reviewing HTML Basics

HTML consists of tags and ordinary text. Tags begin and end with angle brackets (< >), and they contain instructions that control the appearance and operation of the page. Everything outside the angle brackets is ordinary text.

The first word inside the angle brackets specifies the type of tag: <p> is a paragraph tag, <img> is an image tag, and <table> is the tag that defines a table, for example. Additional expressions within the angle brackets specify attributes (that is, characteristics of the page element that the tag defines). The following <hr> tag, for example, defines a horizontal line. The attribute width=“80%” tells the browser to make the line 80 percent of the width of its container.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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