Learning Anchor Tag Part 2

Dear Sciaku Learner you are not logged in or not enrolled in this course.

Please Click on login or enroll now button.

If you have any query feel free to chat us!

Happy Coding! Happy Learning!

Lecture 17:- Learning Anchor Tag Part 2

In the second part of learning about the anchor tag in HTML, you can learn about some advanced features of the <a> tag.

  • Target Attribute: The target attribute specifies where to open the linked content. The default value is _self, which opens the linked content in the same tab or window. Other values include _blank, which opens the linked content in a new tab or window, and _parent, which opens the linked content in the parent frame.

phpCopy code

<a href="https://www.example.com" target="_blank">Visit Example.com in a new tab</a>

  • Download Attribute: The download attribute specifies that the linked content should be downloaded rather than opened in the browser.

phpCopy code

<a href="download.pdf" download>Download PDF</a>

  • Title Attribute: The title attribute provides a text description of the hyperlink, which is displayed as a tooltip when the mouse hovers over the link.

phpCopy code

<a href="https://www.example.com" title="Example Website">Visit Example.com</a>

These are some of the advanced features of the anchor tag in HTML that you can use to enhance the functionality and usability of your hyperlinks. You can use these attributes in combination with each other and with other HTML elements to create more complex and dynamic hyperlinks.

2. Intro to HTML

2 Comments

@niteshguptav63
niteshguptav63 Nov 17, 2024 at 1:39 PM

I am not able to access videos from second class and further. I have already completed first class

@niteshguptav63
niteshguptav63 Nov 16, 2024 at 10:56 AM

When will I get my course?

@admin79
admin79 Nov 17, 2024 at 1:29 PM

Now, Your query was resolved.

Frequently Asked Questions About Sciaku Courses & Services

Quick answers to common questions about our courses, quizzes, and learning platform

Didn't find what you're looking for?

help_center Contact Support