If you find this helpful, please click the Google |


Avoid the Deprecated Inline Style Tags in HTML 5
The following inline style tags should be avoided because they are not valid in HTML 5:
big
blink
tt
(teletype text)u
(underlined text) was deprecated in HTML version 4 but added back in HTML 5 for special circumstances, such as to underline proper names in ChineseTo avoid confusion with hypertext links, one of the alternatives to the <u> tag should be used instead; if the underline is required, the
style="text-decoration: underline"
CSS style should be used instead.strike
, which has been deprecated since HTML version 4 and should be replaced with one of the following:- the HTML
<del>
tag, only if the content is to be considered as if it were effectively removed from the document, - the HTML
<s>
tag, which was deprecated in HTML 4 but is now valid in HTML 5, if the content is inaccurate, incorrect or no longer relevant but is only to appear to be striken and not actually removed from the document, or - the
style="text-decoration: line-through"
CSS style, which allows the appearance to be changed dynamically based on a CSS media type rule or user-selected alternate style sheets
- the HTML
Styles of elements in HTML documents should be provided using CSS rather than inline style tags.
Although these are tags that are not valid in HTML 5, for backward compatibility with existing documents, these style tags may be supported in HTML 5 compliant browsers. However, when creating web documents conforming to the HTML 5 specifications, authors should avoid these deprecated tags.