I am developing a simple webpage at hostgator.com.
I have the standard headers, but when I add the following line:
<?xml version="1.0" encoding="utf-8"?>
the page does not work. I would like why.
This is the full header:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1 /DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="es" xml:lang="es">
... rest of code ...
The server returns me a blank page
Issue solved: The PHP short tags was open.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…