Tags y Elementos HTML
Aquí encontrará una lista de los elementos html más comúnmente usados. Se proporcionan
ejemplos que funcionan totalmente. Simplemente copie y pegue los ejemplos en el
recuadro Ver Código, haga clic en renderizar y vea cómo el navegador renderizará
el documento. Puede modificar los ejemplos como desee. Todos los elementos html
son o bien elementos bloque, elementos enlinea o elementos no renderizados.
- Elementos inline son elementos donde otros objetos pueden ser colocados en cualquier
lado del objeto.
- Elementos bloque son elementos que ocupan la línea entera. Los objetos no pueden
ser colocados en ninguno de los lados del elemento.
-
Elementos no renderizados proveen información sobre la página al navegador de Internet
u otro software.
Ejemplo del elemento Inline:
<html>
<head>
<title>Inline
example</title>
</head>
<body>
<b>The
b is an inline element.
</b><u>u is also an inline element. In this example,
the u element is to the right of the b element.</u>
</body>
</html>
Ejemplo del elemento Bloque:
<html>
<head>
<title>Block
example</title>
</head>
<body>
<h1>
The h1 is a block element.
</h1>
<u>The
u element is an inline element. In this example, the u element cannot occupy
the same line as the h1 element</u>
</body>
</html>
Ejemplo del elemento No Renderizado:
<html>
<head>
<title>Non
rendered example</title>
<meta
name="keywords" content="Your,
Keywords, go, here"
/>
</head>
<body>
</body>
</html>
|
|