HTML LAB Topics
HTML LAB Topics
Lab Topics
Learning outcomes
See how HTML describes the structure of a web page
The <q> element is used for shorter quotes that sit within a paragraph
Abbreviations: HTML Code
<abbr></abbr>
Abbreviations: Browser Output
Author Details
<address></address>
Lists
Ordered lists
Unordered lists
Definition lists
are made up of a set of terms along with the definitions for each of
those terms
Ordered Lists
<ol>
<li></li>
</ol>
Unordered List
<ul>
<li></li>
</ul>
Definition Lists: HTML Code
<dl>
<dt></dt>
<dd></dd>
</dl>
Definition Lists: Displayed on Browser
Nested Lists
Links
You will commonly come across the following types of links:
● Links from one website to another
● Links from one page to another on the same website
● Links from one part of a web page to another part of the same page
● Links that open in a new browser window
● Links that start up your email program and address a new email to
someone
Links
Links are created using the <a> element
Users can click on anything between the opening <a> tag and the
closing </a> tag
You specify which page you want to link to using the href attribute
Linking to other sites
<a></a>
Linking to other pages on same site
Email Links
Opening Links in a new window/tab
target attribute, its value should be _blank
Linking to a Specific Part of the Same Page: HTML Code
Linking to a Specific
Part of the Same
Page:
Browser Output
Images
Include an image in your web pages using HTML
<thead></thead>
<tbody></tbody>
</tfoot></tfoot>
FORMS
Form Controls
There are several types of form controls that
action attribute
Its value is the URL for the page on the server that will receive the
information in the form when it is submitted
method attribute