part 2:learn html - adding links

6 30
Avatar for yara
Written by
4 years ago

I f you ever going to make a website you will probably need to add links either to an external resource or linking to a page inside your website and that by using the html element <a>..</a>

and then use the href attribute for examle if you want to link to this website <a href="https://read.cash/"></a>

by default the style of the link will appear in most browsers as text blue and underline by default but you can change that by css

types of links

1.absolute link :- absolute link needs the full path (url) for the document for short it's the link that is not from your site another source

2.relative urls:- relative url is a path in your own document it doesn't require a domain name nor a protocol just something like <a href="index.html'></a>

link to previous html article : learn html:part1

link to next html article:learn html:part 3

9
$ 0.22
$ 0.22 from @TheRandomRewarder
Avatar for yara
Written by
4 years ago

Comments

Nice this is a big help for all the IT students, and the link <a href="" > NICE </a>is almost the one who always we use.

$ 0.00
4 years ago

//happy to see your comment :)

$ 0.00
4 years ago

👍

$ 0.00
4 years ago

Thank you for sharing! Surely a big help for us😊

$ 0.00
4 years ago

Thanks for sharing this to us, it is surely a big help 😊

$ 0.01
4 years ago

Thank you @yara 😍

$ 0.00
4 years ago