Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. <!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>&bull; To write a heading, you must write &lt;h1>Something here&lt;/h1></p> <p>&bull; To write a title, you must write &lt;head> &lt;title>Something like This&lt;/title> &lt;/head> <p style="color:DodgerBlue;">&bull; To write in color, you must write &lt;p style="color:DodgerBlue;">Something like this&lt;/p></p></p> <p>&bull; To change the color of your page's background, you must type:&lt;body style="background-color:powderblue;"></p> <p>&bull; To change the centering of your text, you must type &lt;style> div.a { text-align: center; } div.b { text-align: justify; } &lt;/style> then type &lt;div class="a"> or "b" before the text you want to change. </p> <p>&bull; To add an image to your website, you must add &lt;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