In this post, we will discuss about how to create a clickable link.
Technically, we use html tag <a>, known as anchor tag to create a link. It can be used to
(1) create a link to another document, by using the href attribute
(2) create a bookmark inside a document, by using the name attribute.
Here, we will discuss about creation of link to another document in Blogspot. Some examples of link:-
(a) Click me to open google in a new window
(b) Click me to open google in the same window. After clicking me, you can use Back button in your browser to come back to this page.
Create a link
Step1:- Highlight the text, where you want to create the link
Showing posts with label a href. Show all posts
Showing posts with label a href. Show all posts
Friday, September 18, 2009
How to create a link?
Step2:- Click on Link icon of text editor
Step3:- A window will appear. If you want to create link for website, enter the url. Else, enter emailid for email link.
Step4:- Save the window. And publish the post. Link will work now.
Step5:- If you click on the link, Google will be opened in the same window (like example (b)). If you want it to open in a new window, go to Edit HTML editor.
There, you will find anchor tag as <a href="http://www.google.com/">Click me</a>
Modify it to <a href="http://www.google.com/" target="_blank">Click me</a>
After this modification, Click me link will open the link document in a new browser!
Subscribe to:
Posts (Atom)