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


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

Forum Jump:


Users browsing this thread: 6 Guest(s)