| Line 1: |
Line 1: |
| − | '''HTML''' or '''Hypertext Markup Language''' is a system of tags mostly used to create, design and format webpages. A Internet Browser will take the HTML and other scripting language, and create a graphical page. Unlike some programming languages, HTML is viewable by the user. HTML is a base language, accompanied or created dynamically by numerous other scripting languages such as [[CSS]], [[JavaScript]], VBScript, [[PHP]], [[Perl]], and many more. | + | '''HTML''' or '''Hypertext Markup Language''' is a system of tags mostly used to create, design and format webpages. An Internet Browser will take the HTML and other scripting languages, and create a graphical page. Unlike some programming languages, HTML is viewable by the user. HTML is a base language, accompanied or created dynamically by numerous other scripting languages such as [[CSS]], [[JavaScript]], VBScript, [[PHP]], [[Perl]], and many more. |
| | | | |
| | The HTML standard is maintained by the World Wide Web Consortium. | | The HTML standard is maintained by the World Wide Web Consortium. |
| | | | |
| − | '''HTML''' stands for Hypertext Markup Language. This is how web pages get structure, appearance and interactivity beyond being a string of plain words. <ref>http://www.visibone.com/html/foldouts.html</ref> | + | '''HTML''' stands for Hypertext Markup Language. This is how web pages get structure, appearance and interactivity beyond being a string of plain words.<ref>http://www.visibone.com/html/foldouts.html</ref> |
| | | | |
| | ==Versions of HTML and XHTML== | | ==Versions of HTML and XHTML== |
| Line 79: |
Line 79: |
| | | <center>2004 onwards</center> | | | <center>2004 onwards</center> |
| | | | |
| − | | The latest version, which was designed to remove most of the presentational features left in HTML. | + | | This version was designed to remove most of the presentational features left in HTML. |
| | + | |
| | + | |- |
| | + | |
| | + | | HTML5 |
| | + | |
| | + | | <center>2011</center> |
| | + | |
| | + | | This version intended to subsume HTML4, XHTML1 and DOM2HTML (particularly JavaScript).<ref>[http://www.w3.org/TR/html5-diff/ HTML5 differences from HTML4 (W3C Working Draft)]</ref> HTML5 includes new features for web applications, such as video, interaction, graphics, and more styles.<ref name="HTML5">http://www.w3.org/html/wiki/FAQs#What_is_HTML5.3F</ref> HTML5 also has the advantage of being able to run not only on computers, but also on mobile, tablet, and other types of devices.<ref name="HTML5"/> |
| | | | |
| | |- | | |- |
| Line 85: |
Line 93: |
| | |} | | |} |
| | <ref>Table adopted from ''New Perspectives: HTML and XHTML'', Carey P. - Course Technology, United States. pg. 7 ISBN 0-619-26747-X</ref> | | <ref>Table adopted from ''New Perspectives: HTML and XHTML'', Carey P. - Course Technology, United States. pg. 7 ISBN 0-619-26747-X</ref> |
| | + | |
| | + | ==Example Code == |
| | + | |
| | + | <pre><!DOCTYPE html> |
| | + | <html> |
| | + | <head> |
| | + | <title>Hello, World !</title> |
| | + | </head> |
| | + | <body> |
| | + | Hello, World ! |
| | + | </body> |
| | + | </html></pre> |
| | | | |
| | ==Special codes== | | ==Special codes== |
| Line 92: |
Line 112: |
| | <nowiki><!-- This is a comment. --></nowiki> | | <nowiki><!-- This is a comment. --></nowiki> |
| | | | |
| − | Note that the opening and closing codes are not symmetrical. If you end it with <nowiki>--!></nowiki> by mistake, it won't really end, and everything else after that on the page will be hidden. | + | Note that the opening and closing codes are not symmetrical. If a comment is eneded with <nowiki>--!></nowiki> by mistake, it won't really end, and everything else after that on the page will be hidden. |
| | | | |
| | ==See also== | | ==See also== |
| | *[[HTML table formatting]] | | *[[HTML table formatting]] |
| | *[[CSS]] - Cascading Style Sheets | | *[[CSS]] - Cascading Style Sheets |
| | + | *[[JavaScript]] - Primary language for scripting webpages |
| | *[[AJAX]] - Asynchronous JavaScript and XML | | *[[AJAX]] - Asynchronous JavaScript and XML |
| | | | |
| | ==References== | | ==References== |
| | <references/> | | <references/> |
| − | ==External Links== | + | |
| | + | ==External links== |
| | *[http://www.w3.org/html/ W3C HTML] | | *[http://www.w3.org/html/ W3C HTML] |
| − | *[http://www.w3schools.com/html W3 Schools HTML]
| |
| | | | |
| − | [[category:Programming Languages]] | + | [[Category:Programming Languages]] |
| | + | [[Category:HTML]] |