% Lecture 2
% CS 180
% Jim Teresco
% 
% $Id: lect2.tex 1661 2011-09-09 03:43:44Z terescoj $
%
\documentclass[12pt]{article}
\usepackage{hyperlatex}

\htmltitle{Lecture 2}

\input{libinputs}
\commonlibinput{commoninfo.sty}

\begin{document}

\banner{}

\lectheader{2}{HTML Basics}{Friday, September 9, 2011}

\lectagenda

\begin{itemize}

\item Announcements

  \begin{itemize}
    \item First lab Monday.
  \end{itemize}

\item \lectassignrecap{1}

\item Markup languages

\item Viewing page source

\item Basic HTML elements

\end{itemize}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\lectassign{Wednesday, September 13}

\laturnin{}

All of my course materials are developed using a markup language
called \LaTeX.  \LaTeX{} is usually used to create printable
documents, but I use a package called Hyperlatex that also generates
HTML.  \xlink{This link}{lect2.tex} {\it should} bring up the \LaTeX{}
source of {\bf this lecture page}.

Compare the \LaTeX{} markup with the HTML generated (hint: view the
HTML source of this page in your browser).  Which elements of the
\LaTeX{} source can you identify?  (5 points)


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\lectsection{Links}


\begin{itemize}

\item \weblink{Wikipedia Article ``Markup language''}{http://en.wikipedia.org/wiki/Markup\_Language}

\item \weblink{Wikipedia Article ``HTML element''}{http://en.wikipedia.org/wiki/HTML\_element}

\item \xlink{Example page developed in class}{lect2ex.html}

\end{itemize}

\end{document}

