Skip to main content
Engineering LibreTexts

2: HTML

  • Page ID
    27537
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    1. HTML text, tags, and attributes
    2. HTML container tags
    3. Standard HTML tags
    4. HTML document structure
    5. How to include an image
    6. How to create form elements:
      1. Text Boxes
      2. Radio Buttons
      3. Check Boxes
      4. Buttons

    This chapter is designed as a brief overview of HTML. HTML is the language used to mark-up (or layout) Web pages. It consists of tags which are embedded in strings of text. These tags are instructions in a web page to control things such as formatting. For example, the emphasis (<em>) tag is used to provide emphasis to a string, and the strong (<strong>) tag is used to bold text.

    The evolution of HTML has caused it to be much more than a program that can format documents. It can be used to include information for other languages. For example, the <script> tag can be used include JavaScript source code within the current document, and the <style> tag can be used to include an external file containing Cascading Style Sheets (CSS). It can be integrated with these other languages to then be used as an infrastructure for write complex programs, such as form-based systems, mapping systems, and other useful programs that can be run from a browser.

    This chapter will cover the basics of creating simple HTML web pages and creating the HTML portion of an interactive form. In subsequent sections of Part I of this book CSS will be used to style the form, and JavaScript will be used to provide interactivity with the form and to process the form.


    This page titled 2: HTML is shared under a CC BY license and was authored, remixed, and/or curated by Charles W. Kann III.

    • Was this article helpful?