Page 286 - DCAP101_BASIC_COMPUTER_SKILLS
P. 286
Unit 13: Internet
Links to Specific Sections Notes
Sometimes, you might want to have a link that will take you further down a page, or to
a certain section of another page. If you click on the colored text and it takes you to that
section. To do this, you need to do two things. The first, is to make the link, and the second,
is to make where the link will lead to.
You cannot make links to specific sections within a different document
unless either you have write permission to the coded source of that document
or that document already contains in-document named links.
(1) To make the actual link, think of a name for the certain spot. Let’s say you are going
to call it “spot”. If this certain spot is on the same page that the link is, you would
type:
<A HREF=”#spot”>Colored Text
Otherwise, you would add “#spot” to the end of the URL.
(2) Now, you need to make where the link will take you. Go to the spot where you want
the link to take you, and type:
<A NAME = “spot”>
Mailto Links
Most people like to have a link on their web page that automatically sends e-mail to an
address. If you want to do this, and your name is XYZ, and your e-mail address is a@a.com,
type:
<A HREF=”mailto:a@a.com”>XYZ</a>
Here is the result of typing this:
13.6 HTML
HTML, which stands for Hyper Text Markup Language, is the predominant markup language
for web pages. HTML is the basic building-blocks of webpages.
HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets
(like <html>), within the web page content. HTML tags normally come in pairs like <h1>
and </h1>. The first tag in a pair is the start tag, the second tag is the end tag (they are also
called opening tags and closing tags).
The purpose of a web browser is to read HTML documents and compose them into visual
or audible web pages. The browser does not display the HTML tags, but uses the tags to
interpret the content of the page.
HTML elements form the building blocks of all websites. HTML allows images and objects
to be embedded and can be used to create interactive forms. It provides a means to create
structured documents by denoting structural semantics for text such as headings, paragraphs,
lists, links, quotes and other items. It can embed scripts in languages such as JavaScript which
affect the behavior of HTML webpages.
13.6.1 Data Types
HTML defines several data types for element content, such as script data and stylesheet data,
and a plethora of types for attribute values, including IDs, names, URIs, numbers, units of
LOVELY PROFESSIONAL UNIVERSITY 279