HTML
HTML CODE: Short for HyperText Markup Language, the programming Code or Languge used to create web documents on the [ W W W ] World Wide Web. HTML is similar to SGML, although it is not a strict subset. HTML defines the structure and layout of a Web document by using a variety of ATTRIBUTES and TAGS.
HTML (Hypertext Markup Language) is the set of markup elements or codes used in a file for display on a Web browser . The markup Language instructs the Web browser on how to display a Web page’s layout for the user. Markup code is referred to as an element . Some elements come in pairs and are essentially containers that will control the layout of the page structure an Information that indicate when some display effect is to start and when it is to finish.
HTML is the formal language Recommendation by the W3C (World Wide Web Consortium) is starting to be adhered to by the major browsers, Mozilla firefox (the leading browser) Microsoft’s Internet Explorer and Netscape’s Navigator, which also provide some additional non-standard codes. The current version of HTML is HTML 4.0. However, both Netscape and Internet Explorer implement some different features and provide non standard tag extensions. Web developers using the more advanced features of HTML 4 will have to design web pages for all browsers . Significant features in HTML 4 are sometimes described as dynamic HTML. What is sometimes referred to as HTML 5 is an extensible form of HTML called Extensible Hypertext Markup Language (XHTML).
The problem With HTML is that presentational elements will be removed in future specifications and so will not be able to be used under the STRICT DOCTYPE such as HTML 4.01 strict or the XHTML 1.0 strict. Don’t be alarmed though your page will still be valid, if you use a transitional DOCTYPE, although it is a good idea to start making the change away from these deprecated presentation elements. Another major drawback is all the tags involved just to get the font type and color right throughout the page and then add in the table tags UUUGGHH messy and boring, and what happens when you want to change the font style you have to go thru some mammoth effort, say good by to any plans you had for the next 2 days. So its XHTML all the way and it is now time to move on.
The correct Code structure for an HTML Coded document starts with:
< HTML >
<!–enter here what Web document is about–>
< HEAD >
< BODY >
<!–all Web content and information here–>
</ BODY >
</ HTML >.
All Web content and information needed for inclusion in your Web page fits in between the
<BODY> and </BODY> tags.
There are hundreds of other tags used to format and layout the information in a Web page. Tags are also used to specify hypertext links. These allow Web developers to direct web users to other Web design pages with only a click of the mouse on either an image or word(s).
What is an HTML File?
- HTML stands for Hyper Text Markup Language
- An HTML file is a text file containing small markup tags
- The markup tags tell the Web browser how to display the page
- An HTML file must have an htm or html file extension
- An HTML file can be created using a simple text editor
HTML Basic Document
<html>
<head>
<title>Document name goes here</title>
</head>
<body>
Visible text goes here
</body></html>
Heading Elements
<h1>Largest Heading</h1><h2> . . . </h2>
<h3> . . . </h3>
<h4> . . . </h4>
<h5> . . . </h5>
<h6>Smallest Heading</h6>
Text Elements
<p>This is a paragraph</p>
<br> (line break)
<hr> (horizontal rule)
<pre>This text is preformatted</pre>
Logical Styles
<em>This text is emphasized</em>
<strong>This text is strong</strong>
<code>This is some computer code</code>
Physical Styles
<b>This text is bold</b>
<i>This text is italic</i>
Links, Anchors, and Image Elements
<a href=”http://www.example.com/”>This is a Link</a>
<a href=”http://www.example.com/”><img src=”URL” alt=”Alternate Text”></a>
<a href=”mailto:webmaster@example.com”>Send e-mail</a>A named anchor:
<a name=”tips”>Useful Tips Section</a>
<a href=”#tips”>Jump to the Useful Tips Section</a>
Unordered list
<ul>
<li>First item</li>
<li>Next item</li>
</ul>
Ordered list
<ol>
<li>First item</li>
<li>Next item</li>
</ol>
Definition list
<dl>
<dt>First term</dt>
<dd>Definition</dd>
<dt>Next term</dt>
<dd>Definition</dd>
</dl>
Tables
<table border=”1″>
<tr>
<th>someheader</th>
<th>someheader</th>
</tr>
<tr>
<td>sometext</td>
<td>sometext</td>
</tr>
</table>
Frames
<frameset cols=”25%,75%”>
<frame src=”page1.htm”>
<frame src=”page2.htm”>
</frameset>
Forms
<form action=”http://www.example.com/test.asp” method=”post/get”><input type=”text” name=”lastname” value=”Nixon” size=”30″ maxlength=”50″>
<input type=”password”>
<input type=”checkbox” checked=”checked”>
<input type=”radio” checked=”checked”>
<input type=”submit”>
<input type=”reset”>
<input type=”hidden”>
<select>
<option>Apples
<option selected>Bananas
<option>Cherries
</select>
<textarea name=”Comment” rows=”60″ cols=”20″></textarea>
</form>
Entities
< is the same as <
> is the same as >
© is the same as ©
Other Elements
<!– This is a comment –>
<blockquote>
Text quoted from some source.
</blockquote>
<address>
Address 1<br>
Address 2<br>
City<br>
</address>
For a more complete list of tags, check out some of the URLs below.



















