I will say it now, HTML is a type of code for a n00b. That is nothing I would put in the category of a bad thing because, well, you know. We were all noobs at one point. (Lots of us still are :P)
Lets take a look at a basic html page.
We enter with the type of code, then enter with out body. Let me break that down. The is the little guy saying "Hey, you know your coding in HTML, right?" He's kinda just like a little reminder to tell you that were coding in html. The tag is telling you that now that you know what your coding in, it's safe to start writing the code. It's the section where everything should be.
Now, you see the same two things below the and tags, except that they have some backslashes in front of them. Why is that? If you used the same and tags without backslashes, the computer would thing it was the start of the code, when in fact it is the end. The backslashes are the signal that it is the end of the body, and it is the end of the type of code you are coding in. In this case, HTML.
Hello World
So that will make our page say "Hello World" won't it? Actually no, you have to prompt the code that "Hello World" is a piece of text. How do we do that? There is a lot of tags you can use to prompt the code that "Hello world" is a piece of text. Here are a few examples.
- Bold text
- Italic
- BIG text
- Small text.
- Strong bold text.
So lets say
Hello World
This will put our "Hello World" text into a bold text. You can add color, change text, and other things too, which I will get into in later tutorials.
To be continued..
0 Response for the "HTML Lessons"
Post a Comment