Checked At:05:04
4 Guests
0 Users
Online doing the past 15 Minutes!
brugbart.com - Edition/Last Updated: 13. October 2008
Posted The: 04/03/2008 - AT: 10:17
Edited The: 28/11/2008 - AT: 2:18
HTML HyperText Markup Language is used to "Markup" text and multimedia, HTML can be considered text files with the .html or .htm file extensions, which includes extra Markup codes.
These Markup codes generally consist of opening and closing tags which make up the elements on the page. This can be anything from normal text, to images and active-x components such as flash. Elements can either be block-level elements, or inline-elements.
The user agent (aka the browser), will use the Markup to distinguish between Paragraphs and Headings, as well as Multimedia. The web designer can use the Markup to change the styles of text, such as color; font-size; and text-decoration by using the relevant CSS Properties.
Lets start Learning By Doing!
All html documents needs a head; body; and a title. We also need to tell the browser, that we are going to write html, this is done by the use of the html tag. We should also declare the doctype, this will tell the browser to render the page in "standards mode". If we don't declare a doctype, it just gets harder to make the page render as intended, cross multiple browsers and platforms.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<title>My first Website</title>
</head>
<body>
<p>My first Website.</p>
</body>
</html>The first line, declares the doctype, see: The Importance of Doctypes
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
The "lang" attribute on the html tag, is mostly used by search engines, to determine the language of your page, but applications such as screen readers, can use it to help determine the language which is used.
<html lang="en">
The head section is primarily used for Meta Data, Document Title; and StyleSheet'(s).
<head> </head>
The body section is used for page content.
<body> </body>
In the next Tutorial, you will be learning about Paragraphs and Headings.
Author: BlueBoden
Comments: [0]


Checked At:05:04
4 Guests
0 Users
Online doing the past 15 Minutes!
This page was created in 0.126627922058 seconds
Welcome Guest