Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Reply
Regarding html and DOCTYPE and conditional statement
tri_inn
9 years ago
466
Reply
1) what is the doctype.......why it is required. if i do not provide doctype then what will be the disaster ?
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if IE 9]> <html class="no-js ie9"><![endif]-->
<!--[if !IE]> --> <html class="no-js"> <!-- <![endif]-->
2) when below statement people use
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
what the above statement is doing ?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
js question
What is html5shiv.js and what it does