Coding for Beginners: Web Accessibility #15— Declare the Language of Your Website For Accessibility

Maribel Gray on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

About this video

A short lesson showing how to declare a web page's language in the HTML element with the lang attribute, a basic step for web accessibility. It is aimed at designers learning HTML and CSS.

What you’ll learn

  • Declare a page's language using the lang attribute on the html element
  • Choose a correct language code such as en-US or de for your page