Bertrand Benjamin
9cadad6cb3
All checks were successful
continuous-integration/drone/push Build is passing
48 lines
1.0 KiB
TeX
48 lines
1.0 KiB
TeX
\documentclass[a4paper,10pt]{article}
|
|
\usepackage{myXsim}
|
|
|
|
\author{Benjamin Bertrand}
|
|
\title{WEB - Cours}
|
|
\date{Septembre 2020}
|
|
|
|
\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}
|