X hits on this document

PDF document

HTML Beginner's Guide - page 1 / 16

44 views

0 shares

0 downloads

0 comments

1 / 16

HTML Beginner's Guide

htmldog.com

This HTML Beginner's Guide assumes that you have no previous knowledge of HTML or CSS.

It should be quite easy to follow if you work through each step, which are all brought together at the end, before moving on to the CSS Beginner's Guide.

The thing to keep in mind is that HTML and CSS are all about separating the content (HTML) and the presentation (CSS). HTML is nothing more than fancy structured content and the formatting of that content will come later when we tackle CSS.

If you have looked at other HTML tutorials, you may find that they mention certain things that HTML Dog does not. This is because many methods are obsolete, non-standard or just plain bad practice. Getting into the frame of mind of doing things the RIGHT way from the start will turn in to much better results in the end.

Getting Started

Most of the stuff on the web is no different than the stuff on your computer - it's just a whole load of files sorted into a whole load of directories.

HTML files are nothing more than simple text files, so to start writing in HTML, you need nothing more than a simple text editor. Notepad is a common example (on Windows this is usually found under the Programs > Accessories menu).

Type this in to your text editor:

This is my first web page

Now create a folder called 'html' and save the file as 'myfirstpage.html' (it is important that the extension '.html' be specified - some text editors, such as Notepad, will automatically save it as '.txt' otherwise).

To look at HTML files, they don't even need to be on the web. Open Internet Explorer, or any other web browser and in the address bar, where you usually type web addresses, type in the location of the file you just saved (for example, 'c:\html\myfirstpage.html') and hit return.

Pow. There it is. Your first web page. How exciting. And all it took was a few typed words.

Document info
Document views44
Page views44
Page last viewedSat Dec 10 16:55:58 UTC 2016
Pages16
Paragraphs214
Words4418

Comments