2. <h1> Este es <strong> <strong> y aquí un otro de bloque </h1>
<h2> Hello World , other block </h2>
<p> Hello World
</p>www.helloworld.com
www.helloworld.com
(Elemento de linea)
(Elemento de linea)
(Elemento de bloque)
Bloque:
<p> <h1>, <h2>, <h3>, <h4>, <h5>, <h6>
<div>
<ul>, <ol>, <li>
<menú>, <dir>, <pre>, <hr>,
<blockquote>, <address>, <center>,
<noframes>, <isindex>, <fieldset>,
<table>, <form>
!Linea:
<a>, <br>, <span>, <bdo>, <object>,
<applet>, <img>, <map>, <iframe>, <tt>, <i>,
<b>, <big>, <small>, <u>, <s>, <strike>,
<Font>, <basefont>, <em>, <strong>, <dfn>,
<code>, <q>, <sub>, <sup>, <samp>, <kbd>,
<var>, <cite >, <abbr>, <acronym>, <input>,
<select>, <textarea>, <label>, <button>
float
right
float
left
*inherit:
El elemento toma el
valor declarado su padre
o ancestro más próximo.
(posicionamiento flotante del elemento)
tipo de elemento
HTML-CSS
(Elemento de linea)
otro bloque
Bloque Bloque Bloque Bloque Bloque
“Bloque y linea”
ins, del
“Subordinados”
Ni en bloque ni linea
caption tr th td thead tbody
tfoot col colgroup
li dd dl optgroup option, area,
param, legend
!
Padre
Hijo
div > div
(div)
(div)
Padre(div)
Hijo(span)
div>span
3. Margen*
contenidoborde
Color de background
relleno/padding*Imagen de background
Jerarquía de
Modelo de Cajas
CCS
*Elementos transparentes
@agnamihira
width
height
(menos imagenes)
margin
left
margin
bottom
margin top
margin right
padding top
padding bottom
padding right
padding left
border top width
border left width
border bottom width
border-top-color
border bottom color
border left color
border-color
border-style
color-background(url)
color image
background-position
background-attachment