HTML

Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.
<!DOCTYPE html>
<html lang="es">
<head>
  <title>Mi primer HTML</title>
</head>
<body>
  <h1>Hola Mundo!</h1>
</body>
</html>  

CSS

CSS (siglas en inglés de Cascading Style Sheets), en español «Hojas de estilo en cascada», es un lenguaje de diseño gráfico para definir y crear la presentación de un documento estructurado escrito en un lenguaje de marcado.

CSS ASOCIA REGLAS DE ESTILO A LOS ELEMENTOS HTML

CSS ASOCIA REGLAS DE ESTILO A LOS ELEMENTOS HTML

CSS is like the instruction manual that tells you how to decorate each Lego block to make the castle look nice. It treats each Lego block as if it's inside its own little box. So, CSS rules are like the special instructions that say which blocks to decorate and how to decorate them.
 

Selectors are like special tags that tell CSS which blocks to decorate. For example, you can have a rule that says, "decorate all the blocks with the tag 'heading'."
 

Declarations are like the decorating instructions. They say what color the block should be, how big it should be, or where it should be placed in the castle.
 

So, CSS is like the magic wand that makes the Lego castle (or website) look cool and pretty by decorating each Lego block (or HTML element) in a specific way.

2. CSS

By Ignacio Rojas

2. CSS

  • 149