Skip to main content

Pa11y Text

Use semantic HTML

Well, semantic HTML is like using special tags that provide meaning and structure to your web content. Instead of just slapping any old tag on things, you can use tags like <header><nav><article>, and <footer> to show the structure and purpose of different parts of your page.


For example

, instead of using a <div> for your website's navigation menu, you would use the <nav> tag. This tells humans, search engines, and screen readers that the content inside it represents the site's navigation.



Text input fields



LAST UPDATED: August 29, 2023


Have a question?

Ask a real person any government-related question for free. They will get you the answer or let you know where to find it.