Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html> <html> <head> <title>Six HTML Elements and a Sentence in Spanish</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> </style> <body style="background-color:powderblue;"> <style> div.a { text-align: center; } div.b { text-align: justify; } </style> <div class="a"> <h1 style="font-size:40px;"><u>Six HTML Elements that I have Learned and a Sentence in Spanish</u></h1> <div class="b"> <p>• To write a heading, you must write <h1>Something here</h1></p> <p>• To write a title, you must write <head> <title>Something like This</title> </head> <p style="color:DodgerBlue;">• To write in color, you must write <p style="color:DodgerBlue;">Something like this</p></p></p> <p>• To change the color of your page's background, you must type:<body style="background-color:powderblue;"></p> <p>• To change the centering of your text, you must type <style> div.a { text-align: center; } div.b { text-align: justify; } </style> then type <div class="a"> or "b" before the text you want to change. </p> <p>• To add an image to your website, you must add <img src="url"> </p> <h2>Hola, y gracias por leer mi archivo html que describe seis códigos en html. Estos seis códigos son códigos útiles que usará mucho. </h2> </body> </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement