HTML Collaborative Coding Exercise
Previously, we learned the <h1> and <p> tags.
The horizontal rule
This is a horizonal rule:
Use the <hr> tag to create a horizontal rule
The Marquee
Use the <marquee> tag to create a marquee
The Hyperlink
This is a hyperlink. Use the <a> tag to create a hyperlink.
Specify where the link will go by putting href="URL_GOES_HERE" inside the opening tag.
Using divs
You can use a div to delineate sections within your website. For example, If I want
only this section of examples to contain a background color, I could surround it by a div labeled with an id
Then, in the style.css file, add a special rule to only that div.
Instructions
- Type Your Name Below Mr. G's at the bottom of the web page
- Use two horizontal rules and create a section for yourself on this website.
- In between the horizontal rules, put a level-3 heading that says your name
- Add a marquee below your name that says something interesting about you
- Add a hyperlink below your marquee that goes to a favorite website of yours
- Surround all of your code by a <div> tag with id attribute
EXAMPLE:
<div id="gideon">
<hr>
ALL OF
YOUR CODE
GOES HERE
<hr>
</div>
- Edit the CSS to add a background color to your code
Student Work Area Below
Wikipedia
Osu