h2
elements are not used for formatting.
h2
may be used for formatting.
h2
may be used for formatting. Use the proper markup.
Question | Is this h2 element really a section header (not just used to format text)? |
---|---|
PASS | This h2 element is really a section header. |
FAIL | This h2 element is used to format text (not really a section header). |
h2
element.h2
elements are not used for formatting.h2
element and replace it with the appropriate text formatting elements.<?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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #43 - Negative</title> </head> <body> <p>This is <strong>very important</strong> and you should read it.</p> </body> </html>
<?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" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>OAC Testfile - Check #43 - Positive</title> </head> <body> <p>This is</p> <h2>very important</h2> <p>and you should read it.</p> </body> </html>