Example:
<script type="text/javascript" src="https://www.youtube.com/player_api"></script>
Some people add it, some people don’t.
Example:
<script type="text/javascript" src="https://www.youtube.com/player_api"></script>
Some people add it, some people don’t.
It depends. What DOCTYPE does the page have?
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head>
<b:if cond='data:blog.isMobile'>
<meta content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/>
<b:else/>
<meta content='width=1100' name='viewport'/>
</b:if>
<b:include data='blog' name='all-head-content'/>
<title><data:blog.pageTitle/></title>
<b:skin>< ```<?xml version="1.0" encoding="UTF-8" ?>```
coothead
Here is the result of the reading …
…click the link for the actual details.
p.s. the document does not include…
<?xml version="1.0" encoding="UTF-8" ?>
coothead
Can you tell me how many errors this one has?
https://www.blog.google/
Nope. I’m on an iPad
Hi there asaasass,
to validate pages yourself just bookmark this link…
…and pop the page location in the address bar.
It might supply hours of fun for you on a dull day.
coothead
Having 14 errors isn’t so bad then.
I’m better than Google.
[off topic]
I’m a great believer in validation for two main reasons.
Firstly, validated web pages have a far greater chance of rendering virtually the same on all web browsers. If the extra step of using Google Mobile Friendly validation then rendered output should be ok on all platforms.
Secondly, trying to render invalid web pages puts additional strain on web browsers because they have to guess what is trying to be achieved - this takes time and will result in web pages being slow to load.
[/off topic]
That strikes me as rather like saying “I’m not so bad - I’ve only got two broken legs. That guy over there has four broken bones and a dislocated shoulder.”
Just because Google (or any other big site) uses invalid code is no reason to be complacent about having invalid code yourself.
google may have errors that don’t effect anything much, your site may have errors that cause complete failure under certain circumstances. I was reading about the perils of putting certain things into the head section that then cause some search engines to ignore the head as it doesn’t know what it should be trusting. So you could lose any hard work you’ve done on ensuring you have good description tags etc in an instant.
Additionally if you are a mutli-billion dollar company that most of the world use to search the internet you can probably get away with some errors. If you have a small site that you are trying to get people to come to (and hopefully return to) seems to me like having it valid is just another thing you don’t have to worry about and you can concentrate on other factors.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.