Jesus Calvillo
Jesus Calvillo

Reputation: 9

confusion from html5 to html compability?

heres my website

http://www.albuquerqueautomotiveservice.com

i think i set this as html5

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

but i wrote it in html

and somethings like the font dont display it just displays as the words of my tags but they have no effect over the content like the & nbsp doesnt work either as you can see on my home button

is there a quick fix to this? like a different doc type or something like that

idk sorry this is my first website and i need help

Upvotes: 0

Views: 46

Answers (1)

bevacqua
bevacqua

Reputation: 48476

To declare HTML 5 the doctype should just be <!DOCTYPE html>

Upvotes: 3

Related Questions