prev
next
HyperText Markup Language (HTML)
-
HTML is a tagged language with a tag set specified by the
World Wide Web Consortium (W3C).
-
An HTML document begins with the tag <html> and
ends with the tag </html>.
-
HTML imposes structure on a document in the form of
<head> and <body> elements. Both the head and body themselves
consist of elements composed of text surrounded by tags.
-
The combination of a beginning tag, body, and closing
tag is called an element. The element body may be text or it may consist of
other elements.
-
element syntax is:
<tagName *[attributeName="value"]> element body </tagName>
Attributes typically define colors, positions, links, ids,
relationships, and event-handlers.
-
Cascading
style sheets, discussed later in these notes, are taking over many of
the traditional uses of tag attributes in earlier versions of HTML.
prev
next