Sei sulla pagina 1di 1

RIEPILOGO TAG E REGOLE CSS

HTML:

<html>

<h1>

<head>

<title>

<body>

<style>

<p> <div> <section> <article> (block)

<table> <tr><td><thead><tbody><th>

<strong> serve per mettere in grassetto

<a href=”link”> click here </a>

<img src=”www….” alt=”testo se non carica immagine”> non si chiude

CSS:

align left right center

colspan/rowspan (table)

border style width color sides (border: solid black 1px)

background-color/color

margin-padding (px, %, numero da 0 a 1) (left, right, bottom, top) es: padding-left: 1

width-height (px, %, numero da 0 a 1) es: height: 20%

font-size (px, %)

font-style

display (block, inline, inline-block) es: display: block

Regola css per prendere i tag <tag> dentro <tag1>: tag1 > tag si può applicare anche con classi e id

(.classe > #id)

Potrebbero piacerti anche