You are on page 1of 16

BASIC TAGS IN

HTML
MS. ALELI D. MIRANDA

<html> </html>
Used

to create HTML document

<head> </head>
Sets

off information that is not displayed on


the web page.

<title> </title>
Creates

the name of the HTML document in


the title bar

<body> </body>
Sets

off the visible portion of the document


Contains all readable text in your web page

<br>
Use

to add a line break

<!comment>
Tag

that allows the author to write which


will not be displayed on the web page.

Body tag attributes

HYPER TEXT MARKUP LANGUAGE

<body> Tag Attributes


Controls

the properties of the


document as a whole
TEXT
BGCOLOR
BACKGROUND

<body> Tag Attributes

TEXT specifies the color


of normal text in the page
Value: any color name/code
Sample: <body text=black>

<body> Tag Attributes


BGCOLOR specifies

the
background color of the page
Value: any color name/code
Sample: <body
bgcolor=#0000FF>

<body> Tag Attributes

BACKGROUND specifies the

background image of the page


Sample: <body
background=mybackground.jpeg
>

HTML COLORS

PRINCIPLES APPLIED
HARMONY
Too

For

much and too little of everything is bad

two-tone combination:
complementing colors or colors that face
opposite to each other in the color wheel.
For three-tone combination:
Equi-triangular color or colors that are
on every point of an equilateral triangle in
the color wheel

PRINCIPLES APPLIED
MEANING
RED

hot, aggression, an error has happened

BLUE

peaceful, male, ocean or a body of water

GREEN

nature, jealousy

WHITE

peace, simplicity, clean, innocent

BLACK

evil, mourning, night, game, elegance

ORANGE

Halloween, warm

YELLOW

sunny, bright, happy

PURPLE

royalty, luxurious

HTML SPECIAL
CHARACTERS

You might also like