University of New Hampshire, Department of Computer Science

Information Technology 502
, Intermediate Web Design

Spring 2025

Jump to navigation

Design Template by Anonymous

Semantics

Now that we've learned a lot about some conceptual accessibility best practices, we are going to cover a specific aspect of accessibility that you can implement in your code, semantic elements. Semantic elements clearly identify their meaning to coders and users, for example, <img>, <table>, and <figure>. Following HTML semantic best practices is an important aspect of accessibility. Accessibility options like screen readers and keyboard navigation rely on properly used semantic HTML tags to work optimally. There are other benefits as well, HTML semantics can improve SEO and make code more readable. See below many less obvious examples that you should be applying to all HTML code: