ALEXANDRE LOUVET


R303: Web Techs

Fall 2026 - IUT - University of Lille, BUT2 SD

Material based on the material of Initiation au développement web by Laure Petrucci and Initiation Web by Carlos Olarte at USPN.

Slides (with blanks to fill) [fr]

TPs are based on Fatima Belkouch-Ameline's TPs for the same class at University of Lille's IUT.

Cheat Sheet

Essential HTML tags

TagRoleType
<html> <head> <body>Global document structure
<title> <meta>Title and metadata (SEO)
<h1><h6>Headings (only one <h1>)block
<p> <br>Paragraph, line breakblock / void
<blockquote>Long indented quotationblock
<pre>Pre-formatted text (spaces and line breaks preserved)block
<code> <small> <sub> <sup>Code, small text, subscript, superscriptinline
<strong> <em> <mark>Text emphasis (bold, italic, highlighted)inline
<div> <span>Block / inline sectionsblock / inline
<ul> <ol> <li>Lists (and type attribute: 1, A, a, I, i)block
<dl> <dt> <dd>Glossary / definition listblock
<a href="...">Hyperlink (absolute, relative, #id, mailto:)inline
<img> <figure> <figcaption>Image and captioninline / block
<map> <area>Image maps (rect, circle, poly)inline
<table> <caption> <thead> <tbody> <tfoot> <tr> <td> <th>Tables (colspan, rowspan)block
<header> <footer> <nav> <aside> <section>Semantic structureblock
<hr>Horizontal rule (deprecated attributes: size, width, color)void
<form> <fieldset> <legend> <label>Forms (GET/POST methods)block
<input> <select> <option> <textarea> <button>Form fieldsinline
<audio> <video>Multimediablock

Essential CSS properties

PropertyExample
color / background-color#D04A0B, rgb(208,74,11), rgba(...,0.5)
background-image / background-repeaturl('img/x.png'), repeat-y
font-familyCalibri, sans-serif, 'Courier New', monospace
font-size / font-weight / font-style14px, 2em, bold, italic
text-align / text-indentjustify, center, 1em
text-decorationunderline, none
list-style-typenone, upper-alpha, lower-roman
padding / margin1em 2em, 10px, 0 auto
border / border-radius / border-collapse1px solid black, 8px, collapse
width / height80%, 300px, 100px
float / clearleft, right, both
displayblock, inline, inline-block, none, flex
flex / flex-direction / gap1, column, 20px
Pseudo-classes / elements:hover, :first-child, :nth-child(even), ::first-letter
@media@media only screen and (max-width: 480px) { ... }