There are some terms that are important for you to know because we'll be using them throughout the tutorial. Here are a few to start:
index.html. You created the beginnings of your index page in Lesson 1. This can also be called your "Home Page." where the word "tag" is replaced by a specific special word. When your browser reads this word it does something special. You used several of these tags in Lesson 1.< and >, are also known as diamond brackets, cone brackets, wickets, chevrons, and funnels. However, most of us know them from school as less than and greater than signs. Every tag in HTML starts and ends with these symbols. On most keyboards they can be found on the period and comma keys. tag and includes everything up to and including the closing tag. Most of the data in this section of your website is read only by browsers and search engines, not by humans. Some of the tags you can place in this area help with search engine optimization, which goes beyond the scope of this tutorial.The above are important terms, so it is a good idea to try to commit them to memory.
One last essential vocabulary word is doctype. A doctype declaration tells the browser how to interpret your code. There are many doctypes that do all sorts of different things, but only a few that are used regularly. For our purposes we are only going to use a single doctype, so you can just copy and paste it into your index file in the appropriate location:
| Enter this code | |
1 |
|
Just copy the above at the very top of your document, replacing the line. If you are writing your website in English, don't worry about what it means or what all the parts are—that is a topic for a more advanced tutorial.
If you are writing your website in another language, you should replace the instances of "en" with the code for that language. For example, the code for Spanish is "es", Japanese is "jp", and German is "de".
Let's move on to Lesson 3 — Adding Text & Links.
| < Prev | Next > |
|---|
Comments
You can use the document you created in lesson one. Basically each lesson builds on the previous one, so as you go through each lesson, you keep adding to the same document, and, by the end you have a complete web page.
Mark
should there not be a
What did you mean by that last comment?
RSS feed for comments to this post