3. HTML Hyper Text Markup Language <html> <body> <h1> Mi primer título </h1> <p> Mi primer párrafo </p> <hr /> <h1> Otro título </h1> <p> Mi segundo párrafo </p> <a href=" http://www.w3schools.com "> Este es un link </a> <!-- Esto es un comentario--> <img src="w3schools.jpg" width="104" height="142" /> </body> </html>
4. <html> <head> <title> Mi primer CSS <title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1> Mi primer título </h1> <p> Mi primer párrafo </p> </body> </html> HTML Atributos adicionales Class Id title
5. CSS Cascading Style Sheets /*Esto es un comentario*/ body { width: 740px; Background-color: #333333; } h1 { Color: orange; Text-align: center ; } p { color: #FFFFFF; font-family: "Times New Roman"; Font-size: 20px; }
7. CSS Cascading Style Sheets Selector id Selector class Se usa para especificar el estilo para un único elemento “ #” “ .” Se usa para especificar el estilo para un grupo de elementos #unaclase p {color:#666666; } .segunda h1 {color:#4e78cc; }
8. <?php /* Artemia/autor Template Name: 3-column */ ?> <?php get_header(); ?> CONTENT <?php get_footer(); ?> Nueva plantilla de página