Jump to content

Self Closing HTML Tags


optikalefx

Recommended Posts

Ok so this problem ONLY happens on the iPad.  It won't show ANY image links on my site.  For every sing one it says

 

XML self-closing tag syntax used on <a> The tag will not be closed.

And because of this the site looks HORRIBLE.  It looks fine on iPhone, mac, windows, every browser.  Just iPad it F&*ks up on.

 

Here is the Doctype and stuff, and it DOES validate with w3c.

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

<html dir="ltr" lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>

 

 

So this is a vbulletin site.  So i let the site load, copied the source, and made a webpage with just that, and that worked fine.  So the browsers are fixing some error when they render that I can't find.  Is there any kind of tool, or a way to catch the HMTL content without a browser changing the HTML first?

 

Thanks!!

Link to comment
https://forums.phpfreaks.com/topic/197587-self-closing-html-tags/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.