Questions about this topic? Sign up to ask in the talk tab.
Difference between revisions of "HTML"
From NetSec
Levi99Vmsb (Talk | contribs) |
(→Tags) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<b>H</b>yper <b>T</b>ext <b>M</b>arkup <b>L</b>anguage 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. | <b>H</b>yper <b>T</b>ext <b>M</b>arkup <b>L</b>anguage 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. | HTML 5 is the latest implementation, and though widespread usage is under way, it remains in development. | ||
− | ==Example== | + | ==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. | ||
+ | |||
+ | |||
+ | |||
+ | ===Example=== | ||
<pre style="background:none; border:none;"> | <pre style="background:none; border:none;"> | ||
− | <html> | + | <html> this is an element |
<head><title>html</title></head> | <head><title>html</title></head> | ||
− | <body> | + | <body style="background-color:red;"> this element contains the "style" attribute |
<p>Hello world</p> | <p>Hello world</p> | ||
</body> | </body> |
Latest revision as of 14:53, 5 September 2012
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.
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>