New Posts  All Forums:Forum Nav:

Odd XHTML issue.

post #1 of 10
Thread Starter 
I made a web page and I was able to validate the xhtml code by uploading the file directly to the validating website. Now that I have it up on my personal webspace, it keeps saying that there is no XHTML, encoding and DOCTYPE declarations....

This is what the beginning of my file looks like
Code:
<?xml version="1.0" encoding="utf-8" ?> 

<!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">

A little help would be greatly appreciated.
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
post #2 of 10
I don't know why it is saying that, but if it is a website for yourself then I would say that it doesn't really matter at all. Your code still works, so there isn't a "problem."

biggrin.gif
Main Rig.
(14 items)
 
Battlefield 2 review.
Battlefield 2 PC Game EA
 
CPUMotherboardGraphicsRAM
Bulldozer FX4100 Gigabyte GA-M68MT-S2 MSI 7770 Kingston Hyper X | 2 x 2 GB 
Hard DriveOptical DriveCoolingOS
WD 2 TB  LiteON DVD/CD R-W Drive AMD Standard cooler Windows 7 Ultimate 
MonitorKeyboardPowerCase
32' Luxor Full HD TV Microsoft comfort curce Antec 450 Watt OcUK Value case 
MouseAudio
Microsoft wireless mouse Logitech speakers & Bass 
  hide details  
Reply
Main Rig.
(14 items)
 
Battlefield 2 review.
Battlefield 2 PC Game EA
 
CPUMotherboardGraphicsRAM
Bulldozer FX4100 Gigabyte GA-M68MT-S2 MSI 7770 Kingston Hyper X | 2 x 2 GB 
Hard DriveOptical DriveCoolingOS
WD 2 TB  LiteON DVD/CD R-W Drive AMD Standard cooler Windows 7 Ultimate 
MonitorKeyboardPowerCase
32' Luxor Full HD TV Microsoft comfort curce Antec 450 Watt OcUK Value case 
MouseAudio
Microsoft wireless mouse Logitech speakers & Bass 
  hide details  
Reply
post #3 of 10
Thread Starter 
Well it's for an online class I'm taking and my instructor needs to see it so he can grade it lol.
I wouldn't really care either, but I have to get it working for that reason.
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
post #4 of 10
Ah. What program do you use to develop it?
Main Rig.
(14 items)
 
Battlefield 2 review.
Battlefield 2 PC Game EA
 
CPUMotherboardGraphicsRAM
Bulldozer FX4100 Gigabyte GA-M68MT-S2 MSI 7770 Kingston Hyper X | 2 x 2 GB 
Hard DriveOptical DriveCoolingOS
WD 2 TB  LiteON DVD/CD R-W Drive AMD Standard cooler Windows 7 Ultimate 
MonitorKeyboardPowerCase
32' Luxor Full HD TV Microsoft comfort curce Antec 450 Watt OcUK Value case 
MouseAudio
Microsoft wireless mouse Logitech speakers & Bass 
  hide details  
Reply
Main Rig.
(14 items)
 
Battlefield 2 review.
Battlefield 2 PC Game EA
 
CPUMotherboardGraphicsRAM
Bulldozer FX4100 Gigabyte GA-M68MT-S2 MSI 7770 Kingston Hyper X | 2 x 2 GB 
Hard DriveOptical DriveCoolingOS
WD 2 TB  LiteON DVD/CD R-W Drive AMD Standard cooler Windows 7 Ultimate 
MonitorKeyboardPowerCase
32' Luxor Full HD TV Microsoft comfort curce Antec 450 Watt OcUK Value case 
MouseAudio
Microsoft wireless mouse Logitech speakers & Bass 
  hide details  
Reply
post #5 of 10
Thread Starter 
JXed. It's a coding program provided by the instructor.
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
post #6 of 10
Take out the blank lines?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #7 of 10
Thread Starter 
Same deal after taking out the breaks.
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
post #8 of 10
Try this
Code:
<!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">
<head>
  <meta
 content="text/html; charset=ISO-8859-1"
 http-equiv="content-type" />
Dreamweaver
(13 items)
 
  
CPUMotherboardGraphicsRAM
4.01GHz AMD 1090T X6 Black Edition Asus Crosshair Formula IV AM3 x2 XFX & SAPH ATI 5970 Crossfired 4x4GB 16GB Sector 5 Patriot Ram DDR3 Xtreme Memory 
Hard DriveOSMonitorKeyboard
OCZ 250GB Vertex II SSD/80GB Intel SSD Win 7 64 Ultimate x3 VW266H 26" HD LCD Logitech G15 
PowerCaseMouse
Cooler Master Silent PRO-m 1000W Cosmos 1000 Logitech G5000 
  hide details  
Reply
Dreamweaver
(13 items)
 
  
CPUMotherboardGraphicsRAM
4.01GHz AMD 1090T X6 Black Edition Asus Crosshair Formula IV AM3 x2 XFX & SAPH ATI 5970 Crossfired 4x4GB 16GB Sector 5 Patriot Ram DDR3 Xtreme Memory 
Hard DriveOSMonitorKeyboard
OCZ 250GB Vertex II SSD/80GB Intel SSD Win 7 64 Ultimate x3 VW266H 26" HD LCD Logitech G15 
PowerCaseMouse
Cooler Master Silent PRO-m 1000W Cosmos 1000 Logitech G5000 
  hide details  
Reply
post #9 of 10
Thread Starter 
Well it turns out that for some reason my file was being pushed through a php parser by my webhost. I added
Code:
<?php
echo
?>
And put the xml declaration in between.

Now it works.

Weird stuff.
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
    
CPUMotherboardGraphicsGraphics
Intel Core i7 2600K Maximus IV Extreme XFX Radeon R9 290X XFX Radeon R9 290X 
RAMHard DriveHard DriveCooling
Corsair Vengeance 1866 DDR3 16GB (4x4GB) OCZ Vertex 3 OCZ Vertex 3 Corsair H100 
MonitorKeyboardPowerCase
Dell U2312HM x4 G510 Corsair AX-1200 NZXT Switch 810 
MouseMouse PadAudio
G500 Razer Vespula ASUS Xonar Essence STX 
  hide details  
Reply
post #10 of 10
That is weird :/
Main Rig.
(14 items)
 
Battlefield 2 review.
Battlefield 2 PC Game EA
 
CPUMotherboardGraphicsRAM
Bulldozer FX4100 Gigabyte GA-M68MT-S2 MSI 7770 Kingston Hyper X | 2 x 2 GB 
Hard DriveOptical DriveCoolingOS
WD 2 TB  LiteON DVD/CD R-W Drive AMD Standard cooler Windows 7 Ultimate 
MonitorKeyboardPowerCase
32' Luxor Full HD TV Microsoft comfort curce Antec 450 Watt OcUK Value case 
MouseAudio
Microsoft wireless mouse Logitech speakers & Bass 
  hide details  
Reply
Main Rig.
(14 items)
 
Battlefield 2 review.
Battlefield 2 PC Game EA
 
CPUMotherboardGraphicsRAM
Bulldozer FX4100 Gigabyte GA-M68MT-S2 MSI 7770 Kingston Hyper X | 2 x 2 GB 
Hard DriveOptical DriveCoolingOS
WD 2 TB  LiteON DVD/CD R-W Drive AMD Standard cooler Windows 7 Ultimate 
MonitorKeyboardPowerCase
32' Luxor Full HD TV Microsoft comfort curce Antec 450 Watt OcUK Value case 
MouseAudio
Microsoft wireless mouse Logitech speakers & Bass 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding