
- HTML Tutorial
- HTML - Home
- HTML - Overview
- HTML - Basic Tags
- HTML - Elements
- HTML - Attributes
- HTML - Formatting
- HTML - Phrase Tags
- HTML - Meta Tags
- HTML - Comments
- HTML - Images
- HTML - Tables
- HTML - Lists
- HTML - Text Links
- HTML - Image Links
- HTML - Email Links
- HTML - Frames
- HTML - Iframes
- HTML - Blocks
- HTML - Backgrounds
- HTML - Colors
- HTML - Fonts
- HTML - Forms
- HTML - Embed Multimedia
- HTML - Marquees
- HTML - Header
- HTML - Style Sheet
- HTML - Javascript
- HTML - Layouts
- HTML References
- HTML - Tags Reference
- HTML - Attributes Reference
- HTML - Events Reference
- HTML - Fonts Reference
- HTML - ASCII Codes
- ASCII Table Lookup
- HTML - Color Names
- HTML - Entities
- HTML - Fonts Ref
- HTML - Events Ref
- MIME Media Types
- HTML - URL Encoding
- Language ISO Codes
- HTML - Character Encodings
- HTML - Deprecated Tags
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>
- Related Articles
- Set the relationship between the current document and the linked document in HTML
- Set the language of the track text data in HTML
- How do we specify the target for where to open the linked document in HTML?
- Explain the concept of Linked list in C language
- Create HTML Document with Custom URL for the document in JavaScript
- Include information about the document in HTML
- Print the alternate nodes of linked list (Iterative Method) in C language
- Explain the stack by using linked list in C language
- What is the basic minimal structure of HTML document?
- How to set whether the dragged data is copied, moved, or linked, when dropped in HTML?
- Set the shape of the area in HTML
- Set the width of the element in HTML
- Set the size of the icons in HTML
- How to specify the target media within the document language with CSS
- Print the last k nodes of the linked list in reverse order Recursive Approaches in C language

Advertisements