HTML Code Tutorial
Using a Text Editor
The best way to learn to build web pages with HTML code is to write the code by hand. A simple text editor like NotePad for Windows will do the trick.
When building web pages with a text editor (Ex. NotePad or WordPad) you must remember to save the pages in HTML format. To do this, you would use the Save As option and add a .html extension to the filename.
If you use the default .txt extension you will see code when you preview the page in a browser.
The code for a Basic HTML Page is shown below.
<HTML>
<HEAD> </HEAD>
<BODY></BODY>
</HTML>
Open NotePad and copy the code into the editor window.
Change the line: <BODY></BODY> to <BODY>Hello World!!</BODY>
Click File
Click Save As
Change .txt to myfirstpage.html
Click Save Remember what folder you save the page in!!
Now to preview the page:
Open Internet Explorer
Click File
Click Work Offline
Click File
Click Open
Click Browse
Navigate to the folder where you saved myfirstpage.html
Click myfirstpage.html to highlight
Click Open
Click OK
You should see the words Hello World!! in the browser window.
Repeat this lesson a few times. Add some code for a Header Tag and a Paragraph Tag
When you can create pages and preview them without thinking, you are ready to start using a conventional HTML editor.
Contents
HomeIntroduction
Page Structure
Basic HTML PageDoctype
The Body Tag
The Division Tag
The ID Attribute
Float Property
Navigation
Anchor TagAnchor Tag - Intradocument
Anchor Tag - Image
Text Controls
Style SheetsWorking With Fonts
The Header Tag
The Paragraph Tag
Paragraphs-Images
Using Lists
The Pre Tag
Line Break Tag
Tables
Basics of TablesColspan
Forms
Form BasicsCheck Boxes
Text Boxes
Selection Boxes
Frames
Basic FramesTarget and Scrolling
Search Engines
Miscellaneous
Meta TagsUsing Borders
Horizontal Rule
Buttons with CSS
Using Color
Color Chart
Using Images
Using Templates
Uploading HTML pages.
HTML-CSS Quizzes

