Instruction: Arrange The Jumble Letters

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 19

Instruction:

Arrange the
Jumble

AEDNGIH
HEADING

PGPAHRARA
PARAGRAPH

EUTTIRUBAT
ATTRIBUTE

EILNERABK
LINE BREAK

MMESTONC
COMMENTS

XTASNY

SYNTAX

TROMFA
FORMAT

HEADING
PARAGRAPH
ATTRIBUTE
LINE BREAK
COMMENTS
SYNTAX
FORMAT

UNIT II:
Lesson 1:
HTML Elements
Major Parts of HTML Document,
Body Tag Attributes,
Creating HTML Documents, Heading,
Paragraph,
Line Break,Comment
Prepared By : Group III

MAJOR PARTS OF
HTML

The HTML container tag indicates that the document must should
be interpreted as HTML document.
The HEAD container tag have the important information regarding
the HTML document.
The BODY container tags have the elements to be displayed in
thebrowser.

THE BODY TAG


Of these 3, the BODY TAG has the most
attributes, because this is the part
where the content of
theHTMLdocument is primarily located.

Attribute

bgcolor

Descripti
on

Specifiesthecoloro
f the page

Format

<body
bgcolor=black>
<body
bgcolor=#000000>

background

Specifiesthe
background image

<bodybackground=im
age.jpg>

CONTD.
Attribute

Description

Format

text

Specifiesthecolorof
a normal text in the
page

<body
text=black>

link

Specifiesthecolorof <body link=blue>


the text with
hyperlink in the
page

vlink

Specifiesthecolorof
the text with visited
hyperlink in the
page

<body
vlink=yellow>

alink

Specifiesthecolorof
the text with
hyperlink when
clicked (hit state)

<body
alink=white>

HTML Element Syntax


An HTML element starts with a
start tag / opening tag.
An HTML element ends with an
end tag / closing tag.
The element content is everything
between the start and the end tag. Some
HTML elementshave empty content
Emptyelementsare closed in the start
tag.
Most HTML elementscan have
attributes.

HEADING
These are container tags which
format text to emphasize its contents
using default value forits size
andcolor.
Attribute
Description
Possible
Values
align

Specifiesthealignm
ent of the text
inside the heading

Left, right,
center

title

Atextthatappears
when the mouse
passes over the
heading

Any text

PARAGRAPH
Paragraphs are defined with the<p>
tag. It is equivalent to two linebreak
tags
<br><br>.
Attributes
Description
Possible
Values
align

Specifiesthe
Alignment of
the text inside
the heading

style

Assignsthe
Colors,
formatof the background,
paragraph
fonts

Left, right,
center, justify

LINE BREAK

The <br> tag is usedwhen you


want to force a line break (new
line) wherever you place it. Take
note that <br> is an empty tag, it
does not require a closing tag.

COMMENTS
The starting tag and the closing tag for
comments are <!-and -->, respectively.
Comments are used to insert a
comment or remark tothe HTML
document. These comments willnot
bedisplayed bythe browser.

Thank You For


Listening ..

You might also like