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

Difference between revisions of "HTML"

From NetSec
Jump to: navigation, search
(Tags)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<b>H</b>yper<b>T</b>ext <b>M</b>arkup <b>L</b>anguage  
+
<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.
  
HTML is what this web page is made of.  Right click --> view source.
+
Contrary to popular belief HTML is NOT a programming language, it is a mark-up language.
  
[[Category:Programming Languages]]
+
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===
 +
<pre style="background:none; border:none;">
 +
<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>
 +
</pre>
 +
 
 +
==See also==
 +
*[[CSS]]
 +
*[[XML]]
 +
 
 +
{{programming}}{{social}}
 +
 
 +
[[Category:Interpreted languages]] [[Category:Programming Languages]]

Latest revision as of 15: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>

See also

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