How to fix: The tt element is obsolete. Use CSS instead.

Most Likely Cause and Fix

Your markup makes use of a <tt> element which is no longer allowed in HTML.

Remove this element and achieve an equivalent text styling with CSS.

Use:

<p>Enter the following command: <span style="font-family: monospace;">ping simplytestable.com</span></p>

instead of:

<p>Enter the following command: <tt>ping simplytestable.com</tt></p>

What This Error Means

The <tt> element is no longer allowed in HTML.

This error is alerting you to this fact and informing you that an equivalent end result can be achieved using CSS.

How To Fix It

Remove this element and achieve an equivalent text styling with CSS.

Use:

<p>Enter the following command: <span style="font-family: monospace;">ping simplytestable.com</span></p>

instead of:

<p>Enter the following command: <tt>ping simplytestable.com</tt></p>

Discuss, Comment and Improve

Did this help you? Can this page be improved? Let us know!

comments powered by Disqus