Зачем нужны эти записи в html?

baseroad

Местный житель
Сообщения
361
Реакции
27
Баллы
28
На одном из топовых кино сайтов увидел в html такой код перед <html>
HTML:
<!--[if lt IE 7 ]> <html class="ie6"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
А сам <html> выглядел вот так
HTML:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://ogp.me/ns/fb#" dir="ltr" lang="ru-RU">
Что это означает и зачем нужно?
 
Сверху