1) Select your favorite website. Note the URL. For example, if you like ESPN.com
ID: 3905567 • Letter: 1
Question
1) Select your favorite website. Note the URL. For example, if you like ESPN.com then write down the URL: http://espn.go.com/.
2) Go to The W3C Markup Validation Service at http://validator.w3.org/. Click on the tab that is titled "Validate by URI" and enter your selected website URL in the "Address" textbox.
3) Click on the "More Options" link. Select "HTML5" for "Document Type" and then click on the "Check" button.
4) Create a Word document and submit the following information through this assignment:
a) Result
b) Address
c) Encoding
d) Doctype
e) Root Element
Explanation / Answer
1. Warning: Using windows-1252 instead of the declared encoding iso-8859-1.
https://www.google.com/
2. Error: Legacy encoding windows-1252 used. Documents must use UTF-8.
https://www.google.com/
3. Error: Internal encoding declaration utf-8 disagrees with the actual encoding of the document (windows-1252).
From line 1, column 319; to line 1, column 385
="robots"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"><meta
4. Error: CSS: display: inline-box is not a display value.
From line 2, column 410; to line 2, column 419
s{display:inline-box;displ
5. Error: The bgcolor attribute on the body element is obsolete. Use CSS instead.
From line 2, column 1424; to line 2, column 1444
n"></head><body bgcolor="#fff"><scrip
6. Error: Element nobr not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
From line 5, column 44; to line 5, column 49
v id=gbar><nobr><b cla
Content model for element div:
If the element is a child of a dl element: one or more dt elements followed by one or more dd elements, optionally intermixed with script-supporting elements.
If the element is not a child of a dl element: Flow content.
7. Error: Attribute width not allowed on element div at this point.
From line 5, column 687; to line 5, column 711
/div><div id=guser width=100%><nobr><span
Attributes for element div:
Global attributes
8. Error: Element nobr not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
From line 5, column 712; to line 5, column 717
100%><nobr><span id=gb
Content model for element div:
If the element is a child of a dl element: one or more dt elements followed by one or more dd elements, optionally intermixed with script-supporting elements.
If the element is not a child of a dl element: Flow content.
9. Error: The center element is obsolete. Use CSS instead.
From line 5, column 1170; to line 5, column 1177
iv><center><br clear="al
10. Error: The clear attribute on the br element is obsolete. Use CSS instead.
From line 5, column 1178; to line 5, column 1203
er><br clear="all" id="lgpd"><div id="lga"
11. Warning: The border attribute is obsolete. Consider specifying img { border: 0; } in CSS instead.
From line 5, column 1415; to line 5, column 1625
D"><img alt="Happy Father's Day 2018!" border="0" height="200" src="/logos/doodles/2018/fathers-day-2018-59297…-l.png" title="Happy Father's Day 2018!" width="500" id="hplogo"><br></a><br></
12. Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
From line 5, column 1676; to line 5, column 1714
"><table cellpadding="0" cellspacing="0"><tr valign="to
13. Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
From line 5, column 1676; to line 5, column 1714
"><table cellpadding="0" cellspacing="0"><tr valign="to
14. Error: The valign attribute on the tr element is obsolete. Use CSS instead.
From line 5, column 1715; to line 5, column 1731
"><tr valign="top"><td width="25%
15. Error: The width attribute on the td element is obsolete. Use CSS instead.
From line 5, column 1732; to line 5, column 1747
"><td width="25%"> </td><td
16. Error: The align attribute on the td element is obsolete. Use CSS instead.
From line 5, column 1759; to line 5, column 1787
d><td align="center" nowrap=""><input name="i
17. Error: The nowrap attribute on the td element is obsolete. Use CSS instead.
From line 5, column 1759; to line 5, column 1787
d><td align="center" nowrap=""><input name="i
18. Error: The align attribute on the td element is obsolete. Use CSS instead.
From line 5, column 2565; to line 5, column 2619
d><td class="fl sblc" align="left" nowrap="" width="25%"><a href="/adva</p> <p><strong>19.</strong> <strong>Error</strong><strong>: The</strong> nowrap <strong>attribute on the</strong> td <strong>element is obsolete.</strong> <strong>Use CSS instead</strong><strong>.</strong></p> <p>From line 5, column 2565; to line 5, column 2619</p> <p>d><td class="fl sblc" align="left" nowrap="" width="25%"><a href="/adva</p> <p><strong>20.</strong> <strong>Error</strong><strong>: The</strong> width <strong>attribute on the</strong> td <strong>element is obsolete.</strong> <strong>Use CSS instead</strong><strong>.</strong></p> <p>From line 5, column 2565; to line 5, column 2619</p> <p>d><td class="fl sblc" align="left" nowrap="" width="25%"><a href="/adva</p> <p><strong>21.</strong> <strong>Error</strong><strong>: Element</strong> <span>div</span> <strong>not allowed as child of element</strong> <span>span</span> <strong>in this context. (Suppressing further errors from this subtree.)</strong></p> <p>From line 5, column 3732; to line 5, column 3759</p> <p>"><div><divtext-decoration:underline;">div may be used:
Where flow content is expected.
As a child of a dl element.
Content model for element span:
Phrasing content.
22. Error: Element p not allowed as child of element span in this context. (Suppressing further errors from this subtree.)
From line 5, column 4049; to line 5, column 4087
v><p>© 2018 -
Contexts in which element p may be used:
Where flow content is expected.
Content model for element span:
Phrasing content.
https://www.google.com/
Internal encoding:UTF-8
Actual encoding: windows-1252
<html>
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.