[HTML][JavaScript][Computer Stuff][Freeing the Mind] Ken Ward's HTML Tutorial ...HeadingsIt is usually nice to start the page with a heading which is bigger than normal. In HTML you can do this using tags. Here's the basic page again;
Click your mouse here to view this new page. Pretty basic isn't it? Did you notice that the title has changed at the top of the browser. It now says; 'My Home Page with a heading.' Of course, the text written within the <h1></h1> tags is bigger than the rest. If you forget the end tag (</h1>) then you would find that all the text was big. The actual size depends on the browser settings. Here are the heading tags;
Click here to see them in action! Hey! What are those <p> tags? How did they sneak in? Earlier we mentioned that you have to tell the browser what to do, these tell it to start a new paragraph. If you don't tell the browser to do this, it will show all the sentences one after the other. It will recognise a space, but if you do a carriage return, as you normally would with a word processor, the browser will ignore it, and you won't get your new paragraph! However, the browser does insert a paragraph or carriage return after certain tags, such as headings. Did you notice that a new paragraph was created after the headings even though we didn't put a <p> tag in? See above! If you use the <p> tag then the next line will begin
after a blank line. Well, we have solved most of the really basic questions about making a web page. We can use headings, make paragraphs and create the basic document. Really, we've mad a great deal of progress, however, what about making some text bold etc? Click here to make comments in HTML!
Most Recent Revision: 18-Oct-98. I am always pleased to hear from you. |