HTML Elements
-
Upload
raechel-victoria-panerio -
Category
Documents
-
view
216 -
download
3
description
Transcript of HTML Elements
Raechel Victoria N. PanerioLessons 2: HTML ElementsDefinitions:1. Tags these are building blocks of HTML codes Indicate how a certain property will appearParts of a Tag
{Affected Text/Image/object} Empty Tags does not require closing
tags, ex.
tag Container tags requires an opening and closing tag2.
Property/Attribute additional information attached to tags to give
a more detailed description Can be none to several Tag attributes
are separated by spaces Order of appearance is not important 3.
Value may be numeric or set of stringsi. Enclosed by opening and
closing single or double quotes but not combination of bothii.
Limited to 1024 characters in length 4. Scripts lines of codes
designed to run with HTML codes for a better execution of
outputHTML Documents are composed of important container tags:HTML
container tags indicate that the document should be interpreted as
a HTML documentHEAD container tags have the necessary information
regarding the HTML documentBODY container tag have the most
elements to be displayed Attributes that may be added in the BODY
TAGS: 1. bgcolor specifies the background color of the page 2. text
specifies the color of the normal text in the page Other container
TAGS that may be added inside the body: A. Title text that appears
when the mouse passes over the heading The Last EmperorB. Headings
format text to emphasize its content using default value for size
and color The Last Emperor The Last Emperor Attribute that may be
added in HEADER TAGS: 1. align specifies the alignment of text
inside the heading The Last Emperor The Last Emperor The Last
Emperor The Last EmperorC. Paragraph places an extra lineA. The
Attribute that may be added in PARAGRAPH TAGS: 1. align specifies
the alignment of text inside the paragraph The Last Emperor D. Line
break an empty tag which forces a new line break (new line) The .
you.
E. Comments add remarks which the browser will not display F.
Horizontal rule places a horizontal line Attributes that may be
added in Horizontal Rule TAG: 1. align specifies the alignment of
horizontal rule2. Size assigns the size of the line,in pixels 3.
Width is the width or span of the line in pixel or % width of the
browser1. Color specifies the color of the line2. noshade remove
the default shading in the line