[PART 2] Beginner Tutorial
Page 1 of 1
[PART 2] Beginner Tutorial
Your Second Webpage
Now that you have created your first webpage, let us examine the different segments of your "index.html" file. You have probably noticed a pattern of various words that are surrounded with < and >. These items are called HTML tags.An example of an html tag is . The Body tag tells the browser where the page's content begins. Body is also an example of one of the required HTML tags that every web page must have.
basic html tag information
Let's learn more about these tags. A basic web page is composed of 2 main tags. If you create a web page without these tags you will be in trouble!
- Code:
<html>
<body>
Your site's content goes here
</body>
</html>
The first HTML tag, which conviently is labled tells the browser that your HTML code is starting. The second HTML tag, tells the browser that the visible part of the webpage ( your content ) is going to start.
closing tags -
You might be wondering what is the deal with the two tags at the end, and . These tags are telling the browser that certain tags are ending. The lets the browser know that your content is ending, while the