16/12/2019

Lesson 8 - Create multiple pages

A tag

Definition and Usage

The <a> tag defines a hyperlink, which is used to link from one page to another.

The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

By default, links will appear as follows in all browsers:

a tag

Above "See More" is used "target="_blank".

EXAMPLE

<a href="URL"> Anchor Text </a>

If you want to use for inner link,, it is Relative File Paths or Absolute File Paths.

        <a href="/1.html"> 1.html </a>
      

But when you want to use for outside link, you must write full URL address like "https://www.google.com/".

        <a href="https://www.google.com/"> Google </a>
      

Let's Try

Step:1

Let's add hyperlink for linking to other staff's page in your page.

Step:2

Let's add hyperlink for outside website, in your page.

About Commonly used tags and CSS

THML Tag

CSS

background
background:#333;
margin
margin:20px;
padding
paddin:20px;
font-weight
font-weight:bold;
display
display:inline;
text-decoration
text-decoration:underline
list-style
list-style:non;
font-size
font-size:20px;
color
color:#333;
border
border:1px solid #333;

Let's Try

Let's decorate your page more.