This document discusses basic HTML tags and provides examples of simple HTML code. It introduces common tags like <html>, <head>, <title>, and <body> and demonstrates how to add links with <a href> tags. An example of simple HTML code is shown to display plain text on a page. The document then adds some additional tags to the example like <hr> and <p> to demonstrate how tags can format the page by adding a background color, line breaks in text, and horizontal rules.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
12 views
Tags
This document discusses basic HTML tags and provides examples of simple HTML code. It introduces common tags like <html>, <head>, <title>, and <body> and demonstrates how to add links with <a href> tags. An example of simple HTML code is shown to display plain text on a page. The document then adds some additional tags to the example like <hr> and <p> to demonstrate how tags can format the page by adding a background color, line breaks in text, and horizontal rules.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 10
HTML Tags
How do I start to use HTML?
Tags Example <a href=http://www.google.com> This would be the tag to link a page that a student creates to the Google site. What are the basic tag? <html> </html> <head> </head> <title> </title> <Body> </body> <p> <br>
Simple page of Code <html> <head><title>First Page</title></head> <body> Hello! This is my first page of code. I can't believe I'm on my way to being a webmaster. This is so great!!! </body> </html> What does that look like? Did you notice anything? Regular text No break when an ENTER was keyed Nothing exciting about page. Formatting is needed Look at some additions (changes in Red) <html> <head><title>First Page</title></head> <body bgcolor="blue"> <hr> Hello! This is my first page of code. I can't believe I'm on my way to
being a webmaster.<p> This is so great!!! <hr> </body> </html> Heres what those did What changed? Background color Breaks in text Horizontal rules All with just a few keystrokes What can you create?