Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9200891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:52:18+00:00 2026-06-17T22:52:18+00:00

I am coding a multilingual site and I have following navigation: <nav id=language> <ul>

  • 0

I am coding a multilingual site and I have following navigation:

 <nav id="language">
    <ul>
      <li><a href="/en/" hreflang="en">en</a></li>
      <li><a href="/de/" hreflang="de">de</a></li>
      <li>fr</li>
    </ul>
    </nav>

Can I improve semantics? With Microdata or tags attributes e.g

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:52:19+00:00Added an answer on June 17, 2026 at 10:52 pm

    abbr elements

    You should add abbr, giving the full language name in the corresponding language:

    <nav id="language">
      <ul>
        <li><a href="/en/" hreflang="en"><abbr lang="en" title="English">en</abbr></a></li>
        <li><a href="/de/" hreflang="de"><abbr lang="de" title="Deutsch">de</abbr></a></li>
        <li><abbr lang="fr" title="Français">fr</abbr></li>
      </ul>
    </nav>
    

    title attribute for a

    You could add a title attribute to a with a content like: “Switch to the English translation of this page”

    heading for nav

    You could give this nav section a heading like “Translations of this page” (for the English page).

    If you don’t want it to be visible on the page, hide it visually so that it is still read to screenreader users (e.g. with the clip method).

    (If you provide such a heading, you probably don’t need the title attribute on a anymore.)

    additionally: link element (in head)

    For bots, you could link the translations with link elements in the head of your pages:

    <link rel="alternate" href="/de/" hreflang="de" />
    <link rel="alternate" href="/en/" hreflang="en" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Coding Language: C# Framework: .NET We have built a software, which among many other
Am coding in PyGtk, Gtk3 with WebKit.WebView and have encountered something weird. On unmaximizing
When coding up Ajax calls in ASP.Net MVC we have a lot of options
Coding PHP on a Mac using TextEdit. It's always annoying to have to type
Coding in UNIX make , I have written: cat $ sString | grep sSubstring
Coding standards in place mean I do not have an option of using ajax
When coding with databases on the web with say php and mysql you have
Coding in ASP.NET 4.0 / javascript/ jQuery/ WebServices The Scenario I have an analytics
Im coding in Java.. Does anyone know how i can get the content of
Iam coding a dating application for facebook. The application has to have a standalone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.