HTML Links

A link is a connection or the interface from one resource to another

An anchor can point to any resources such as an Web page, an image or a media file.

Syntax

<a href=”url or path here”>Text here</a>

Here href attribute is used to address the document to be link to the text.

Example : <a href=”mailto:info@websjyoti.com”>Write to us</a>

 List:

There are 3 different types of lists used in HTML Document

<ul> – Unordered list

<ol> – Ordered list

<dl> – Definition list

 Ordered List:

If you want to present your list in an ordered manner, then the <ol> tag is used. By default this will give you a numbered list. Hoveever we may use some more type attribute like 1, A, a, I, i etc.

<ol type=”i” start=”5″>

<li>Apple</li>

<li>Banana</li>

<li>Mango</li>

<li>Papaya</li>

<li>Cherry</li>

<li>Peach</li>

</ol>

The start property allows you to start list from a specific number.

 The reversed attribute: If you want to display your list in reverse order, then we can use reversed attribute.

Example:

<ol reversed>

<li>A.C</li>

<li>Radio</li>

<li>T.V</li>

<li>Refrigerator</li>

</ol>

Un-Ordered List:

Bullet point lists are also known as unordered lists (UL) because there is no numbering involved. So to create a bulleted list, use the unordered list tags <ul></ul> and list item <li>.

Example:

<ul  type=”circle”>

<li>Home</li>

<li>Services</li>

<li>Products

<ul type=”square”>

<li>New Products</li>

<li>Used Products</li>

</ul>

</li>

<li>Contact us</li>

</ul>

Here The type attribute determines what kind of bullet you are using on the page. Some type attributes are circle, disc & square.

22 thoughts on “HTML Links

  1. Heya i am for the first time here. I found this board and I find It really useful &amp it helped me out much. I hope to give something back and aid others like you helped me. bfekkbakddda

  2. Absolutely NEW update of SEO/SMM software “XRumer 16.0 + XEvil”:
    captchas breaking of Google, Facebook, Bing, Hotmail, SolveMedia, Yandex,
    and more than 8400 another size-types of captcha,
    with highest precision (80..100%) and highest speed (100 img per second).
    You can connect XEvil 3.0 to all most popular SEO/SMM software: XRumer, GSA SER, ZennoPoster, Srapebox, Senuke, and more than 100 of other programms.

    Interested? There are a lot of impessive videos about XEvil in YouTube.
    You read it – then IT WORKS!
    See you later!

    XRumer201708y

Leave a Reply

Your email address will not be published.

Enjoy the tutorial? Please spread the word :)

Follow by Email
Facebook
Facebook
Google+2k
Google+
http://hirdeshbhardwaj.com/2017/04/10/html-links/
YouTube31
YouTube