0% found this document useful (0 votes)
13 views

HANDOUTS_ICT-10-3

The document provides an overview of HTML elements and tags, focusing on the structure and purpose of various tags such as <html>, <title>, <head>, and <body>. It explains the significance of headings, attributes, and horizontal rules in HTML coding. Additionally, it highlights the capability of HTML to support various background images and colors.

Uploaded by

Jake Cake
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

HANDOUTS_ICT-10-3

The document provides an overview of HTML elements and tags, focusing on the structure and purpose of various tags such as <html>, <title>, <head>, and <body>. It explains the significance of headings, attributes, and horizontal rules in HTML coding. Additionally, it highlights the capability of HTML to support various background images and colors.

Uploaded by

Jake Cake
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

HTML HEADING

03
OBJECTIVE/S:
Understand the different uses of
AND BODY HTML codes;

Define the uses of Heading and


Body Tags
HTML ELEMENTS AND TAGS
HTML is made up of elements, which describe to the browser how a particular piece of text
should be treated. Elements are expressed in HTML as tags, which consist of the element
surrounded by angle brackets, or the greater than and less than symbols.
An example of a tag that uses the html element is <html>.

ANGLE BRACKET ATTRIBUTE


•It appear after the element but before the
PARTS OF ELEMENT

•These pair symbols are used to final angle bracket in an opening tag.
enclosed html tags. Attributes consist of the attribute name,
an equal sign, and a value, which will be
enclosed in quotation marks. Example:
TAGS <img src=”images/logo.gif”>

•These are instructions in html, which


state the action to perform, like
displaying the text, drawing a line, or
use of graphics.
Illustration about the Parts of Element

HTML HEADINGS DID YOU KNOW?


16 MILLION WEB COLORS
HTML <html> </html> Because each of the three colors (RGB) can have
Indicate at the very first line and close at the values from 0 to 255 (256 possible values), there
last line of the program by simply putting a are: 256 × 256 × 256 = 16,777,216 possible color
slash “/” on the tag. It determine that the combinations.
program that you are doing is all about html.

TITLE <title> </title> HTML BODY


The HTML <title> element is meta data. It
defines the HTML document's title. The title BODY <body> </body>
will not be displayed in the document, but It is responsible to the whole body of the web
might be displayed in the browser tab. page, it includes setting a background and
inputting a text. Defines the document's
HEAD <head> </head> body.
It is placed between the <html> tag and the
BODY BACKGROUND IMAGE
<body> tag set as a heading. It defines the
<body background></body>
document's head element.
It is used to set the image as a background.
HEADINGS <h1> to <h6> HTML can read the image in any type, like
Defines HTML headings. .jpg, .png and .gif
Example: <body background=”image.jpg”>
HORIZONTAL RULES <hr>
The <hr> tag creates a horizontal line in an BODY BACKGROUND COLOR
HTML page. The hr element can be used to <body bgcolor> </body>
separate content. Defines a horizontal line. It is used to set colored background.
Example: <body bgcolor=”red”>

You might also like