Link is a tag attached page to another page, and we can put Link on the letter or on the image.
Another of its functions, we can connect one part to another part of the same page.
1. Attach one page to another page
<a href="url"> Link Text or image </a>
example
<html><head><title>Welcome to komsan-kh.blogspot</title></head><body><p>Please <a href="http://komsan-kh.blogspot.com" target="_blank">Click Here</a> to learn more about IT.</p></body></html>results

note
target = "_blank": used for accessing our Page Link in new tab of our Browser.
target = "_parent": used for accessing our Page Link tab.
2. Attach one part to another part of the same page
To divide the part we are set as follows:
?
1
<a id="part_name" />
And to connect to them, we must apply the following:
?
1
<a href="#part_name"> Text Link </ a>
example
<html>
<head> <title> Welcome to komsan-kh </ title> </ head>
<body>
<a href="#what-html"> what HTML? </ a> |
<a href="#structure"> to HTML </ a>
<a id="what-html" />
<h2> 1. What is HTML? </ H2>
<p>
HTML is the language that is used to compile information for the online internet.
</ p>
<a id="structure" />
<h2> 2. Form of HTML </ h2>
<p>
HTML is divided into two main parts tag Header and tag Body and the two tag in tag HTML.
</ p>
</ body>
</ html>






0 comments:
Post a Comment