Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- In Response to: http://answers.yahoo.com/question/answer?qid=20130504114347AA2PAfM -->
- <html>
- <head>
- <title>Testing HTML Page</title>
- <style type="text/css">/* Although HTML5 Does not require the property 'type' */
- body {
- background-color: black;
- position: relative;
- }
- h1 {
- font-family: Courier, monospace;
- color: white;
- text-align: center;
- }
- span#welcomeMsg {
- font-family: Courier, monospace;
- color: red;
- font-size: 18px;
- }
- table {
- width: auto;
- border: 1px groove #999;
- position: relative;
- margin: auto;
- }
- td {
- border-top: 1px solid #666;
- border-right: 1px solid #999;
- border-bottom: 1px solid #999;
- border-left: 1px solid #666;
- padding: 2px;
- }
- </style>
- </head>
- <body>
- <p>
- <h1>MY HTML PRACTICE</h1>
- <span id="welcomeMsg">
- I'm practising on how to code HTML.
- I'm near intermediate or atleast intermediate. I'm trying out how to use IMG SRC correctly.
- I'll try it now, this is my problem.
- </span>
- </p>
- <img src="images/gas mask.jpg" style="height: 100px;width: 200px;position: relative;left: 50%;margin-left: -100px;">
- <table>
- <tr>
- <td style="font-family: Impact; color: pink;">
- I'm
- </td>
- <td style="font-family: Courier;Color: yellow;">
- coding
- </td>
- </tr>
- <tr>
- <td style="font-family: 'Comic Sans MS';Color: green;">
- HTML
- </td>
- <td style="font-family: Arial;Color: blue;">
- wooo!
- </td>
- </tr>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement