First webpage guide summary
The world of webpage building is an interesting and rewarding one. This section has taught you how to create some very basic webpages.
A webpage is created using HTML code that you enter into a text editor and then you save the file with a .html extension. HTML code consists of tags.
A webpage is viewed using a web browser. Any modern web browser can be used including (but not limited to) Firefox, Internet Explorer, and Chrome.
Once again, the code for a basic webpage:
Overview of tags used in the examples
- <html> - The "root" tag. Signifies the beginning of an HTML document.
- <head> - Comes right after the <html> tag and signifies the head section of an HTML document. Within this tag important information about a webpage such as the page's title will be contained.
- <title> - Sets the title of a webpage which can be seen in the upper left corner of a web browser window. In the example on this page we titled the page "My second webpage!". Should be placed in the head section (between <head> and </head>) of an HTML document.
- <body> - Comes right after the <head> tag and signifies the body section of an HTML document. Within this tag the page's content will be contained.
- <h1> - Creates a big heading. There are six different heading sizes you can create specified with <h1>, <h2>, <h3>, <h4>, <h5>, and <h6>. The lower the number in the tag, the bigger the heading will be.
- <p> - Creates a paragraph. Enclose a block of text with <p> and </p> to specify that the text is a paragraph.
First webpage guide quiz
Test your knowledge of basic webpage building with the First webpage guide quiz
Next, you should learn HTML in detail. Check out our HTML tutorials section to do just that.
Simple webpages examples
Our HTML examples section contains working examples of simple webpages. Check it out!
Simple webpages exercises
Our HTML exercises section contains basic webpage building exercises. Check it out!
Online code editor
Use our online code editor to practice what you learned in this section and what you will learn in some of the other sections on this website.