- Much more tolerant and an handle markup from all the prior versions
- HTML (Hyper Text Markup Language)
- Defines the meaning and structure of web content
What is HTML5 ?
- Incorporates all the features from earlier versions
- Adds a diverse set of new tools for the web developer
Goals of HTML5
- Support all existing web pages; no requirement to go back and revise older websites
- Reduce the need for external plugins and scripts to show website content
- Improve the semantic definition (i.e. meaning and purpose) of page elements
- Make the rendering of web content universal and independent of the device being used
- Handle web documents errors in a better and more consistent fashion
Note
- Navigation is a core part of accessibility, and screen readers rely on you to provide the structure of your page. This is accomplished with semantic HTML elements.
- To increase the page accessibility, the
roleattribute can be used to indicate the purpose behind an element on the page to assistive technologies. Theroleattribute is a part of the Web Accessibility Initiative (WAI), and accepts preset values. - Every
regionrole requires a label, which helps screen reader users understand the purpose of the region. One method for adding a label is to add a heading element inside the region and then reference it with thearia-labelledbyattribute. - It is important to link each
inputto the correspondinglabelelement. This provides assistive technology users with a visual reference to the input. This is done by giving thelabelaforattribute, which contains theidof theinput. - Although not required for
labelelements with a nestedinput, it is still best-practice to explicitly link alabelwith its correspondinginputelement. - The
footerelement is a container for a collection of content that is related to the page, and theaddresselement is a container for contact information for the author of the page. - The
addresselement does not have to contain a physical geographical location. It can be used to provide a link to the subject.
[!Knowledge] HTML elements reference Wrap with abbreviations Remove Tag