How do you confirm that a document is written in HTML5?
It is enclosed in a <html> tag.
<html>
The browser receives encoding from the server to display the document with HTML5.
Use the <!DOCTYPE html> declaration that starts the document.
<!DOCTYPE html>
The server wraps the webpage in an HTML5 wrapper.