Questions about this topic? Sign up to ask in the talk tab.

HTML

From NetSec
Revision as of 00:45, 31 August 2012 by D1551D3N7 (Talk | contribs)

Jump to: navigation, search

Hyper Text Markup Language is the basic building blocks of webpages. Written in HTML elements made of up tags within brackets, HTML is interpreted by a web browser and then displayed in the form of a web page.

Contrary to popular belief HTML is NOT a programming language, it is a mark-up language.

HTML 5 is the latest implementation, and though widespread usage is under way, it remains in development.

Elements and attributes

Elements are parts of the HTML document, such as the tags or attributes. Attributes are values of tages, such as the style attribute.

Tags

Tag What it does
Bold text
<body></body> The body of the page
Centers text

up to

Heading sizes

Example

<html> this is an element
<head><title>html</title></head>
<body style="background-color:red;"> this element contains the "style" attribute
<p>Hello world</p>
</body>
</html>

See also

HTML is part of a series on programming.
<center>
</center>