fbe University of New South Wales Sydney Australia UNSW
Faculty of the Built Environment search

Tags

A HTML tag is a keyword (or letter) enclosed in greater-than and less-than characters. In addition to the keyword there may be "attributes". For example:
<tagname attribute=value> . . . text . . . </tagname>


<h1 align=center>A major section title</h1>
                                        end tag
           attribute value = center (centre)
     attribute = align[ment]
  start tag = heading one
  • Tags can be placed within other tags
  • Most tags are binary (they have a start tag and a end tag)
  • Some are unary (they have only one part), for exampe: <br>, <hr>


Previous Page First Page Next Page

Web Page by Stephen Peter, S.Peter@unsw.edu.au last updated 21 July 96