2022-08-28 09:07:56 +00:00
|
|
|
\documentclass[a4paper,10pt]{article}
|
|
|
|
\usepackage{myXsim}
|
|
|
|
|
|
|
|
\author{Benjamin Bertrand}
|
|
|
|
\title{WEB - Cours}
|
2022-09-03 15:20:17 +00:00
|
|
|
\date{Septembre 2022}
|
2022-08-28 09:07:56 +00:00
|
|
|
|
|
|
|
\pagestyle{empty}
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\maketitle
|
|
|
|
|
|
|
|
\setcounter{section}{1}
|
|
|
|
\section{Langage HTML}
|
|
|
|
|
|
|
|
\begin{center}
|
|
|
|
HTML: HyperText Markup Language
|
|
|
|
|
|
|
|
En français: langage de balises pour l'hypertexte
|
|
|
|
\end{center}
|
|
|
|
|
|
|
|
Le html utilise des \textbf{balises} pour structurer le contenu de la page web.
|
|
|
|
|
|
|
|
\subsection*{Balises}
|
|
|
|
\begin{center}
|
|
|
|
\includegraphics[scale=2]{./fig/anatomie-element-html}
|
|
|
|
\end{center}
|
|
|
|
|
|
|
|
\subsubsection*{Exemples de balises}
|
|
|
|
|
|
|
|
\begin{multicols}{2}
|
|
|
|
\begin{itemize}
|
|
|
|
\item \texttt{<p> ... </p>}
|
|
|
|
\item \texttt{<h1> ... </h1>}
|
|
|
|
\item \texttt{<h2> ... </h2>}
|
|
|
|
\item \texttt{<strong> ... </strong>}
|
|
|
|
\item \texttt{<ul> ... </ul>}
|
|
|
|
\item \texttt{<li> ... </li>}
|
|
|
|
\item \texttt{<img src="..." alt="...">}
|
|
|
|
\item \texttt{<a href="..."> ... </a>}
|
|
|
|
\end{itemize}
|
|
|
|
\end{multicols}
|
|
|
|
|
|
|
|
\afaire{Décrire l'utilisation des balises listées au-dessus.}
|
|
|
|
|
|
|
|
\end{document}
|