HTML
HYPERTEXT MARKUP
LANGUAGE
PART IV
HTML
We will be looking at the following items in this
presentation:
 Changing the header information
 Inserting a title for the document
 Changing the background colour of the webpage
 Changing font size and font colour
HEADER AND TITLE TAGS
Header information is not displayed in the
browser information.
 The tags are <head> and </head>
 The text between these tags will be displayed as
the name of the webpage.
 The header tag is used along with the title tag
(<title> and </title>)
 The text between the <title> tags is the title of
your document. It is displayed in your browsers
caption.
HEADER AND TITLE TAGS
HEADER AND TITLE TAGS
CHANGING BACKGROUND COLOUR
The attribute that is used is BGCOLOR.
 This changes the background colour of the entire
webpage.
 It is used within the BODY tag
 Example:
 To
change the background to yellow
 <BODY BGCOLOR=Yellow>
---------</BODY>
To change to another colour, just replace the name of the
colour in the tag.
CHANGING BACKGROUND COLOUR
CHANGING BACKGROUND COLOUR
CHANGING FONT SIZE, COLOUR &
TYPE
The tag that is used is <FONT> and </FONT>
 To change the size, we use the SIZE attribute
 To change the colour, we use the COLOR attribute
 To change the font type, we use the FACE attribute.
 Example:
 <FONT
SIZE=12 COLOR=RED FACE=ARIAL>
This is font 12, colour red and font type Arial</FONT>
CHANGING FONT SIZE, COLOUR &
TYPE
CHANGING FONT SIZE, COLOUR &
TYPE
CHANGING FONT SIZE, COLOUR &
TYPE
All three changes can be made in one statement
CHANGING FONT SIZE, COLOUR &
TYPE
All three changes can be made in one statement