Now we have learned what goes inside the head it is time to learn what goes inside the body. To make writing is HTML you need to make paragraphs. You make a paragraph by making <p></p> tags. You can write whatever you want inside the paragraph tags. You can also add special styles for the paragraphs but that will be for another lesson. Another thing you can do with HTML is make headings. There are 6 different heading styles. Each heading starter tag is like this. <h1> <h2> <h3> <h4> <h5> <h6>. Heading 1 is the biggest heading 2 is the second biggest all the way down to paragraphs which are the smallest. Headings are good for the title of the paragraph like this.
<h1>A bank has been robbed.</h1>
<p>Breaking news the Comerica bank on 32nd street has been robbed. etc.</p>
I left out the body head and all the other things you need but you must remember to code all of it in. Now I need to teach you how to save the file. If you are using notepad then you need to press file at the top of the screen. Then when the popdown menu pops down press save as. Give the file a name then .html at the end.
Tate.html
Then you must click the drop down menu below that and select all files. You can run your program by double clicking on it. Read the next lesson for even more lessons on how to code html.
No comments:
Post a Comment