Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>
- Body Tags Fancy Webpage
- </title>
- </head>
- <body>
- <!--Here is a comment! You can only access it by viewing the html.
- It won't show up on the webpage. -->
- <h1> Fancy Tags </h1>
- <h2> Underlining </h2>
- <p>
- We <u>underline </u> with the "u" tag.
- </p>
- <h2> Text Alignment Examples </h2>
- <p>
- If I want to align a paragraph, I can put it right in the
- paragraph align tag!
- </p>
- <p align = left>
- This paragraph is left-aligned.
- </p align = left>
- <p align = right>
- This paragraph is right-aligned.
- </p align = right>
- <p align = center>
- This paragraph is centered.
- </p align = center>
- <h2> Blockquote </h2>
- <p>
- Now, I would like to indent a paragraph!
- <blockquote>
- One, two, buckle my shoe.<br>
- Three, four, knock on the door. <br>
- Five, six, pick up sticks.<br>
- Seven, eight, lay them straight.<br>
- Nine, ten, let's do it again!<br>
- </blockquote>
- The above is one of my children's favorite songs!
- </p>
- <h2> Horizontal Lines </h2>
- <p>
- Here is a horizontal line:
- <hr>
- <br>
- We can make it thicker:
- <hr size = 10>
- <br>
- Or take up a certain percent of the screen:
- <hr width = 25% >
- <br>
- Or both!
- <hr size = 5 width = 75%>
- </p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement