Hey. I wanna know whats !DOCTYPE that I always find in styling articles and CSS tutorials?
What is it? Should it be at the beginning of HTML documents?
Is it wrong to make it in lower case (!doctype)?
Why is that exclamation mark there?
Thanks in advance :)
PS: Please dont give me links 'cause a lot of websites arent accessible here
Hani1991
12
Junior Poster
Recommended Answers
Jump to Postdoctype defines the document type
the appropriate doctype for the code of the files ensures the page displays and functions as intended
upper case
precisely as written
Jump to PostWhen authoring document is HTML or XHTML, it is important to Add a Doctype declaration. 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 …
All 5 Replies
almostbob
866
Retired: passive income ROCKS
Hani1991
12
Junior Poster
almostbob
866
Retired: passive income ROCKS
Arkinder
93
Posting Pro in Training
Hani1991
12
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.