2022-2023/SNT/01_WEB/2B_html.tex

48 lines
1.0 KiB
TeX
Raw Normal View History

2022-08-28 09:07:56 +00:00
\documentclass[a4paper,10pt]{article}
\usepackage{myXsim}
\author{Benjamin Bertrand}
\title{WEB - Cours}
\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}