Poll: Was this article helpful for you?
You do not have permission to vote in this poll.
Yes
100.00%
1 100.00%
No
0%
0 0%
Total 1 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTML5 Doctype declaration
#1
The doctype declaration itself is not a HTML tag.
It's information for the browser on what kind of document to expect.
We can tell the browser to expect HTML5 like this:

   

Since the doctype declaration is not case sensitive other declarations are possible, too.
For example:

   
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Messages In This Thread
HTML5 Doctype declaration - by Qomplainerz - 02-21-2021, 12:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Creating hyperlinks in HTML5 Qomplainerz 0 823 07-27-2023, 01:23 PM
Last Post: Qomplainerz
  What's new in HTML5? Qomplainerz 0 547 07-27-2023, 12:48 PM
Last Post: Qomplainerz
  What is HTML5? Qomplainerz 0 515 07-27-2023, 12:43 PM
Last Post: Qomplainerz
  Everything you need to know about HTML5 Qomplainerz 0 532 07-25-2023, 09:50 AM
Last Post: Qomplainerz
  Multi Line Comments in HTML5 Qomplainerz 0 1,911 02-21-2021, 07:00 PM
Last Post: Qomplainerz
  Single Line Comment in HTML5 Qomplainerz 0 1,795 02-21-2021, 06:58 PM
Last Post: Qomplainerz
  Basic layout of a HTML5 document on a server Qomplainerz 0 1,847 02-21-2021, 11:38 AM
Last Post: Qomplainerz
  Forcing the browser to read the basic HTML layout as HTML5 Qomplainerz 0 1,810 02-21-2021, 11:22 AM
Last Post: Qomplainerz
Brick Marking UP the Blog in HTML5 Derp 1 4,069 12-10-2020, 10:03 AM
Last Post: WilliamR

Forum Jump:


Users browsing this thread: 2 Guest(s)