Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
HTML semantic element
Does html tag or element "span", besides summary and article, can be classified as semantic element since it has a meaning to separate in ceritain distance, or strech, etc.
1 ответ
+ 2
I recommend to read the specification.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
"The <span> HTML element is a generic inline container for phrasing content, which does not inherently represent anything. It can be used to group elements for styling purposes"
The definition of semantic: "relating to meaning in language or logic"
So the clear answer is no, span is not a semantic element.