|
1. What is HTML anyway? HTML stands for HyperText Markup Language. Developed by scientist Tim Berners-Lee in 1990, HTML is the "hidden" code that helps us communicate with others on the World Wide Web (WWW). When writing HTML, you add "tags" to the text in order to create the structure. These tags tell the browser how to display the text or graphics in the document. For example, the following document has a simple layout (structure). Notice there are three major parts: a heading, two paragraphs and a bulleted list.
To achieve a similar layout in a WWW browser, you need to add tags. Here is the same document with HTML tags (red) added: <html>
And here is the resulting page in your browser. Notice the tags are gone? Thats because the tags tell the browser how to display files but do not show themselves. Viewing the hidden code! When learning something new, it often helps to see how others are doing the same thing. This is especially easy with HTML because every file that comes through your browser is formatted in HTML. So how do you see other peoples stuff? By viewing their source code. Heres how:
By viewing the source code, you can see what the "big" guys are doing. In fact, viewing other peoples code is considered one of the best ways to learn how HTML works. Now that youve had a little taste of what its like to create an HTML document, it is time to begin creating one from scratch. Go to Chapter 2: Basic Concepts
|