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

HTML Tags

HTML tags are commands written between less than (<) and greater than (>) signs, also known asangle brackets, that indicate how the browser should display the text (Figure 1.1). There are opening and closing versions for many (but not all) tags, and the affected text is contained within the two tags. Both the opening and closing tags use the same command word but the closing tag carries an initial extra forward slash symbol /.

Figure 1.1. The anatomy of an HTML tag. Notice there are no extra spaces between the contained text and the angle brackets (greater than and less than signs). Also, the surrounding text, in this example, the word tomato, is unaffected by the tag.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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