Can we use instead of in HTML5? [closed]
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am new to HTML. I like to know it is good to use
mark semantic tag
instead of something like div class="main-content"? And also I like to know about where to semantic tags and div elements.
html html5 css3 frontend semantic-markup
closed as too broad by Carl Binalla, Alon Eitan, cнŝdk, Ahmad, DanielBarbarian Nov 22 '18 at 8:19
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
I am new to HTML. I like to know it is good to use
mark semantic tag
instead of something like div class="main-content"? And also I like to know about where to semantic tags and div elements.
html html5 css3 frontend semantic-markup
closed as too broad by Carl Binalla, Alon Eitan, cнŝdk, Ahmad, DanielBarbarian Nov 22 '18 at 8:19
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
What's keeping you? I mean, can you explain why you think you can't use a <main> element? This sounds like it's primarily opinion based to be honest. Or are you asking about when to use a <main> element?
– Mr Lister
Nov 22 '18 at 7:14
There are also schema markup and json-ld - Learn about them too (But don't forget that the quality and relevance of the content itself is the most important thing)
– Alon Eitan
Nov 22 '18 at 7:38
add a comment |
I am new to HTML. I like to know it is good to use
mark semantic tag
instead of something like div class="main-content"? And also I like to know about where to semantic tags and div elements.
html html5 css3 frontend semantic-markup
I am new to HTML. I like to know it is good to use
mark semantic tag
instead of something like div class="main-content"? And also I like to know about where to semantic tags and div elements.
html html5 css3 frontend semantic-markup
html html5 css3 frontend semantic-markup
asked Nov 22 '18 at 6:48
Kowsigan AtsayamKowsigan Atsayam
42210
42210
closed as too broad by Carl Binalla, Alon Eitan, cнŝdk, Ahmad, DanielBarbarian Nov 22 '18 at 8:19
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Carl Binalla, Alon Eitan, cнŝdk, Ahmad, DanielBarbarian Nov 22 '18 at 8:19
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
What's keeping you? I mean, can you explain why you think you can't use a <main> element? This sounds like it's primarily opinion based to be honest. Or are you asking about when to use a <main> element?
– Mr Lister
Nov 22 '18 at 7:14
There are also schema markup and json-ld - Learn about them too (But don't forget that the quality and relevance of the content itself is the most important thing)
– Alon Eitan
Nov 22 '18 at 7:38
add a comment |
What's keeping you? I mean, can you explain why you think you can't use a <main> element? This sounds like it's primarily opinion based to be honest. Or are you asking about when to use a <main> element?
– Mr Lister
Nov 22 '18 at 7:14
There are also schema markup and json-ld - Learn about them too (But don't forget that the quality and relevance of the content itself is the most important thing)
– Alon Eitan
Nov 22 '18 at 7:38
What's keeping you? I mean, can you explain why you think you can't use a <main> element? This sounds like it's primarily opinion based to be honest. Or are you asking about when to use a <main> element?
– Mr Lister
Nov 22 '18 at 7:14
What's keeping you? I mean, can you explain why you think you can't use a <main> element? This sounds like it's primarily opinion based to be honest. Or are you asking about when to use a <main> element?
– Mr Lister
Nov 22 '18 at 7:14
There are also schema markup and json-ld - Learn about them too (But don't forget that the quality and relevance of the content itself is the most important thing)
– Alon Eitan
Nov 22 '18 at 7:38
There are also schema markup and json-ld - Learn about them too (But don't forget that the quality and relevance of the content itself is the most important thing)
– Alon Eitan
Nov 22 '18 at 7:38
add a comment |
1 Answer
1
active
oldest
votes
According to W3C, the main
tag should be used only for content that is unique to that document.
The
<main>
tag specifies the main content of a document.
The content inside the
<main>
element should be unique to the
document. It should not contain any content that is repeated across
documents such as sidebars, navigation links, copyright information,
site logos, and search forms.
Note: There must not be more than one element in a document.
The<main>
element must NOT be a descendant of an<article>
,<aside>
,
<footer>
,<header>
, or<nav>
element.
for more html5 tags you can visit HTML5 Semantic Elements (W3Schools)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
According to W3C, the main
tag should be used only for content that is unique to that document.
The
<main>
tag specifies the main content of a document.
The content inside the
<main>
element should be unique to the
document. It should not contain any content that is repeated across
documents such as sidebars, navigation links, copyright information,
site logos, and search forms.
Note: There must not be more than one element in a document.
The<main>
element must NOT be a descendant of an<article>
,<aside>
,
<footer>
,<header>
, or<nav>
element.
for more html5 tags you can visit HTML5 Semantic Elements (W3Schools)
add a comment |
According to W3C, the main
tag should be used only for content that is unique to that document.
The
<main>
tag specifies the main content of a document.
The content inside the
<main>
element should be unique to the
document. It should not contain any content that is repeated across
documents such as sidebars, navigation links, copyright information,
site logos, and search forms.
Note: There must not be more than one element in a document.
The<main>
element must NOT be a descendant of an<article>
,<aside>
,
<footer>
,<header>
, or<nav>
element.
for more html5 tags you can visit HTML5 Semantic Elements (W3Schools)
add a comment |
According to W3C, the main
tag should be used only for content that is unique to that document.
The
<main>
tag specifies the main content of a document.
The content inside the
<main>
element should be unique to the
document. It should not contain any content that is repeated across
documents such as sidebars, navigation links, copyright information,
site logos, and search forms.
Note: There must not be more than one element in a document.
The<main>
element must NOT be a descendant of an<article>
,<aside>
,
<footer>
,<header>
, or<nav>
element.
for more html5 tags you can visit HTML5 Semantic Elements (W3Schools)
According to W3C, the main
tag should be used only for content that is unique to that document.
The
<main>
tag specifies the main content of a document.
The content inside the
<main>
element should be unique to the
document. It should not contain any content that is repeated across
documents such as sidebars, navigation links, copyright information,
site logos, and search forms.
Note: There must not be more than one element in a document.
The<main>
element must NOT be a descendant of an<article>
,<aside>
,
<footer>
,<header>
, or<nav>
element.
for more html5 tags you can visit HTML5 Semantic Elements (W3Schools)
edited Nov 22 '18 at 7:07
Mr Lister
35.6k1078121
35.6k1078121
answered Nov 22 '18 at 6:52
Nir BerkoNir Berko
624112
624112
add a comment |
add a comment |
What's keeping you? I mean, can you explain why you think you can't use a <main> element? This sounds like it's primarily opinion based to be honest. Or are you asking about when to use a <main> element?
– Mr Lister
Nov 22 '18 at 7:14
There are also schema markup and json-ld - Learn about them too (But don't forget that the quality and relevance of the content itself is the most important thing)
– Alon Eitan
Nov 22 '18 at 7:38