Skip to main content
Engineering LibreTexts

2: HTML

  • Page ID
    27537
  • 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.

    • Was this article helpful?