What Is doctype In Html..?

Started by ruhikhan, July 22, 2019, 02:50:32 AM


rais_26

It is an instruction to the web browser about what version of HTML the page is written in.

sinelogixtech

Hi Friends,
<!DOCTYPE> is tag for HTML Declaration

<! DOCTYPE html> goes at the top of every HTML5 page.

Unlike earlier versions of HTML, in HTML5 the doctype declaration is case-insensitive.

In other words <! doctype html> works as well as <! DOCTYPE html>

If you need a doctype matching a specific version of (X)HTML, the doctype declaration must be exact (both in spelling and in case) to have the desired effect, which makes it sometimes difficult. To ease the work, below is a list of recommended doctype declarations that you can use in your Web documents.

This needs to be the first thing in your document, before the <html> or >head> elements. Also, there is no closing tag.

More About Our Webmaster Tools for Windows and Mac

HTML, image, video and hreflang XML sitemap generatorA1 Sitemap Generator
      
website analysis spider tool for technical SEOA1 Website Analyzer
      
SEO tools for managing keywords and keyword listsA1 Keyword Research
      
complete website copier toolA1 Website Download
      
create custom website search enginesA1 Website Search Engine
      
scrape data into CSV, SQL and databasesA1 Website Scraper