【发布时间】:2016-10-06 21:15:09
【问题描述】:
我应该在nav, header, article, section 中添加样式吗?
例如,HTML5:
<body>
<header>
<h1>My super duper page</h1>
<!-- Header content -->
</header>
<div role="main">
<!-- Page content -->
</div>
<aside role="complementary">
<!-- Secondary content -->
</aside>
<footer>
<!-- Footer content -->
</footer>
</body>
CSS,
header {
margin: 20px;
padding: 20px;
color: black;
font-family: arial;
font-size: 14px;
etc...
}
我可以这样做吗?
【问题讨论】:
-
请澄清您的具体问题或添加其他详细信息以准确突出您的需要。正如目前所写的那样,很难准确地说出你在问什么。