HTML class
Registro en la plataforma: https://www.freecodecamp.org/ Con su cuenta de Gmail.
LENGUAJE HTML: HyperText Markup Language, (lenguaje de marcado para creación de páginas web).
ESTRUCTURA PRINCIPAL:
<html>
<body>
<main>
<section>
<h1> Texto </h1>
...
</section>
</main>
</body>
</html>
NIVELES DE ETIQUETAS: (de mayor a menor importancia representada con su tamaño de texto)
H1, H2, H3, H4, H5...H6
Etiqueta <p> Párrafo</p>
Etiqueta para Comentario (texto que no se ejecuta) <!-- TEXTO -->
Etiqueta <main> </main> Es para "Searchh Engine Optimization" va despues de etiqueta BODY
ESPACIOS (sangria/indented) son para ordenar las lineas de codigo y verificar su cierre correcto.
SELF-CLOSING TAG- <img> esta etiqueta no se cierra.
ATRIBUTOS DE ETIQUETAS Van adentro de la etiqueta, definen características de estas.
Ejemplo: <img src="source link" alt="texto alterno">
Add links: (check the blank spaces, there is only 2)
<a href=´https://site.org´> Click here </a>
Atribute TARGET is to open another Windows _blank is How this will be open
IMAGE as LINK: (leccion 15)
SECTION
<main>... <h1>... <section>... <h2>...</h2> <a>...</a>... </section>... </h1>... </main>
*Al usar diferente Hx es como comenzar una nueva seccion.
LISTAS DESORDENADAS:
<ul>
<li>.. </li>
<li>.. </li>
</ul>
FIGURE (es para agregar imágenes a un artículo, donde las imágenes tienen por lo general una descripción justo por debajo)
<figure>
<figcaption> Descripcion </figcaption>
</figure>
ENFATIZAR TEXTO
<em>PALABRA</em>
LISTAS ORDENADAS:
<ol>
<li>.. </li>
<li>.. </li>
</ol>
TEXTO NEGRITA/BOLD:
<strong>PALABRA</strong>
CREAR FORMAS:
<form action="URL">
<input type="text" name="catphotourl" placeholder="ejemplo" required>
</form>
AGREGAR BOTONES:
fieldset elements are block-level elements (recuadro alrededor)legend element acts as a caption for the content<title>, <style>, <meta>, <link>, <script>, and <base>.<!DOCTYPE html>. This special string is known as a declaration and ensures the browser tries to meet industry-wide specifications.REFERENCIA PARA CONSULTA DE ETIQUETAS: https://www.w3schools.com/html/default.asp
Comentarios