This document discusses how to change various elements of an HTML webpage, including the header information, title, background color, font size, and font color. Specifically, it explains how to insert a title using the <title> tags, change the background color using the <BODY> tag and the BGCOLOR attribute, and modify font properties like size, color, and type within the <FONT> tags using various attributes.
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
185 views
HTML 4
This document discusses how to change various elements of an HTML webpage, including the header information, title, background color, font size, and font color. Specifically, it explains how to insert a title using the <title> tags, change the background color using the <BODY> tag and the BGCOLOR attribute, and modify font properties like size, color, and type within the <FONT> tags using various attributes.
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 13
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