Week 11 - Introducing HTML5 Basic Tags and Special Tags
Week 11 - Introducing HTML5 Basic Tags and Special Tags
A markup language is being utilized to create a webpage to show the multimedia documents.
The Hypertext Markup language is the standard language used on web for developing
websites which is created by Tim Berners-Lee in 1991.
HTML is the standard markup language for creating Web pages. It describes what a website
looks like. Programmers use HTML tags to design and create websites. HTML 5 is the latest
version of HTML.
HTML documents are text files that contain two parts, the web content and tags.
Content are all that is meant to be displayed on a computer screen, while the Markup or
tags are symbols that tell your browser how to display the text of a webpage and is generally
hidden from the user.
Tags should be enclosed in a pair of angle brackets < >. If you want any formatting in your
page, you have to give the browser instruction by using HTML tags.
In HTML open tags must be closed to have a valid HTML document or web page.
Some tags don’t have text between the opening and closing tag. These are called standalone
tags. They can self-close:
a. <BR/>
Putting a line in between sentences.
b. <HR/>
Inserting a horizontal line in your page.
If you have multiple open tags you must close them in reverse order, to make it more valid
HTML instruction
Everything in between the tags is affected by the instructions within the brackets. The
closing tag only differs from the opening tag by adding a ‘/’ at the beginning. Some tags
have attributes set within the brackets such as
It is a good idea to capitalize the attributes, put quotes around the value of the attribute and
type the value of the attribute in lower case.
HTML5 Structure
Every web page requires five critical tags:
a. !DOCTYPE
b. HTML
c. HEAD
d. TITLE
e. BODY
Course Module
Computing Fundamentals 4
Introducing HTML5 Basic Tags and Special Tags
An HTML document has two parts: the HEAD and the BODY, as indicated in the sample
structure above.
As discussed in our previous topic, the purpose of any web browser is to read and display
the content of an HTML document. Browsers do not display HTML tags, and HTML utilize
these tags to determine how the document will be displayed.
List Tags
List tags in HTML are used to create outlines for web pages, describe steps in directions or
in a particular process, and even in enumerating items that do not require a particular
order.
In general, there are 3 kinds of list tags:
In creating lists, however, it is important to know that each listed item is accompanied by
an <LI></LI> tag.
Each item on the list uses <LI> tag at the beginning and </LI> to close each item on the list.
The browser will display each item using bullets.
Unordered List tags use bullet in each item by default, however, you may change its default
setting by using any of the following <UL> “type” attributes: Circle, Disc, or Square.
A sample for the ‘circle’ attribute is provided below. Try exploring the other attributes by
changing the attribute to any of the remaining attributes.
Computing Fundamentals 7
Introducing HTML5 Basic Tags and Special Tags
Course Module
Computing Fundamentals 8
Introducing HTML5 Basic Tags and Special Tags
The above code which uses the OL type=”A” will display the result below:
Computing Fundamentals 9
Introducing HTML5 Basic Tags and Special Tags
Course Module
Computing Fundamentals 10
Introducing HTML5 Basic Tags and Special Tags
Adjusting the width and height of a particular image through pixels will most probably make
image distortion while using percentage will enable you to adjust a picture proportionally.
However, it is still important to note that there are some instances wherein pixel-based
image adjustment would still be useful compared to the latter.
HTML Hyperlinks
HTML Links are called Hyperlinks. You can visit one webpage to another through links.
HTML links or hyperlinks are used as a tool to move from one accessible page or section of a
website to another.
HTML links are defined using the anchor tag or <a> tag. The <a> tag has an attribute “href”
which identifies the URL of the webpage to be opened once the link is clicked.
Course Module
Computing Fundamentals 12
Introducing HTML5 Basic Tags and Special Tags
Note: A link does not have to be a text. Links can also be an image. Anything that will be
placed in between the opening <a> and closing </a> tag, may it be a text or an image, will be
considered as a link
HTML sample codes and each sample’s corresponding results are provided in the succeeding
pages.
3. Rich, J.R. (2017). Working in the Cloud: Using Web-Based Applications and Tools to
Collaborate Online. Indianapolis, Indiana: QUE Publishing
Course Module