
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Set the Language of the Linked Document in HTML
Use the hreflang attribute to set the language of the linked document in HTML.
Example
You can try to run the following code to implement the hreflang attribute −
<!DOCTYPE html> <html> <head> <title>HTML hreflang attribute</title> </head> <body> <p>Database Tutorial:</p> <a href = "dbms/index.htm" hreflang = "en">DBMS</a> </body> </html>
Advertisements