When starting an html document I always write
<!doctype html>
<html>
But there are lots of sites writing it as
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
Is there a danger in doing it the way I do ? Whats the benefit of all the extra attributes?