Skip to content

Instantly share code, notes, and snippets.

@bertobox
Created August 26, 2014 15:11
Show Gist options
  • Save bertobox/320cfde3fe4d80c17878 to your computer and use it in GitHub Desktop.
Save bertobox/320cfde3fe4d80c17878 to your computer and use it in GitHub Desktop.
ago26 - ejemplos de HTML y CSS
/**
* ago26 - ejemplos de HTML y CSS
*/
h1, h2{text-transform: uppercase;color: red;}
#articulo_1{font-weight: normal;}
h1{color:green;}
h1{color:gray;}
h1 em+em{text-transform: lowercase;}
/*
buscar CSS pseudo-selectors
*/
<!-- A continuación mi código HTML: -->
<h1 id="articulo_1" class="encabezados azul">hola <strong>grupo</strong> <em>¿cómo están?</em> jajaja <em>¿lindos y contentos?</em></h1>
<h2>hola grupo <em>¡tengo hambre!</em></h2>
<img src="http://htmldog.com/r10/logoNew.gif" alt="texto alterno" title="Hola Edrei, ¿cómo estás?"/>
<img src="http://htmldog.com/r10/logoNew.gif" alt="texto alterno" title="Hola mely, ¿qué tal?">
CSS (Cascading Style Sheets)
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment