Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check the html version any web application is using?

Tags:

html

how can i check what html version my web application is using? I have complete code base but i am not sure where to check the html version? In jsp i do not see see anything related to html version.

EDIT:- On google . most of the stuff says , do the page source , the very first line tells the html version. When i do the same isee

 <!doctype html>

Now i am not sure, what version of html ishould make out from above line?

like image 455
M Sach Avatar asked Jul 02 '12 17:07

M Sach


People also ask

How do I find the version of a web application?

Open the app that you are interested in and then look for the Settings button. It should be somewhere in the user interface. Click or tap on it and then look for the About section. Click or tap About and there you will find the version of the application that you are using.

What version of HTML are we currently using?

HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and final major HTML version that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HTML Living Standard.

What is an HTML version of a website?

What Is HTML? HTML is the primary language of the World Wide Web (WWW). Developers use it to design web page elements, such as text, hyperlinks, and multimedia files. HTML 5.2, upgraded in 2017, is the latest version of HTML.


1 Answers

Check the DOCTYPE declaration in the html file.

HTML5

<!DOCTYPE html>

HTML 4.01 Strict

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
like image 119
Black Frog Avatar answered Oct 02 '22 15:10

Black Frog