A
A
Anatoly Sergeevich2017-05-03 18:00:35
HTML
Anatoly Sergeevich, 2017-05-03 18:00:35

Nonstandard HTML tags?

Good evening.
I want to clarify one question.
What are the effects of non-standard html tags.
Examples I want to use

//1
<div class="default-class"></div>
<default-class></default-class>


//2
<span class="border-color"></div>
<border-color></border-color>

Is there a difference between them, search engines and other services will respond to them normally?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GreatRash, 2017-05-03
@GreatRash

Search engines will see this tag without problems, because HTML is just a subset of SGML. But such tags will not carry any semantic load. In short, the search robot will see them as <div>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question