rspec/rules/S1098/html/rule.adoc
2022-02-04 16:28:24 +00:00

41 lines
731 B
Plaintext

Favicons are shown for example in the browser's address bar, bookmark list, or tabs.
They enable users to quickly identify and recognize websites.
== Noncompliant Code Example
[source,html]
----
<head> <!-- Noncompliant -->
<title>...<title>
</head>
----
== Compliant Solution
[source,html]
----
<head>
<title>...<title>
<link rel="shortcut icon" href="http://example.com/myicon.ico" />
</head>
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]