jjzjj

semantic-markup

全部标签

html - 标记对话(或采访)的最语义方式?

我正在尝试找出最语义化的方式来标记这样的内容。John:blahblahPaul:blahblahGeorge:blahblahRingo:blahblah或John:blahblahPaul:blahblahGeorge:blahblahRingo:blahblah理想情况下,CSS可以灵活地执行任何一个操作,或者将其分成一个段落,可以显示或不显示名称。我考虑过使用before:选择器来添加名称,但我也希望它们是可链接的。例如,如果林戈有推特个人资料,我会链接到他的推特个人资料。它也应该在屏幕阅读器中正确阅读。 最佳答案 HTML

html - 标记对话(或采访)的最语义方式?

我正在尝试找出最语义化的方式来标记这样的内容。John:blahblahPaul:blahblahGeorge:blahblahRingo:blahblah或John:blahblahPaul:blahblahGeorge:blahblahRingo:blahblah理想情况下,CSS可以灵活地执行任何一个操作,或者将其分成一个段落,可以显示或不显示名称。我考虑过使用before:选择器来添加名称,但我也希望它们是可链接的。例如,如果林戈有推特个人资料,我会链接到他的推特个人资料。它也应该在屏幕阅读器中正确阅读。 最佳答案 HTML

最喜欢的书籍列表的 HTML5 文章或部分?

关于书籍的虚构网站。每本书都有自己的页面。现在我想添加一个页面,列出我一直以来最喜欢的书。哪个HTML5sectioningelements您会使用“容器”,每本书使用哪个?MARQUEE占位符和BLINK占位符应该是section还是article?页面可能如下所示:Books!NavigationMyalltimefavoritebooksTheHobbit,orThereandBackAgain…seethepageabout"TheHobbit"Alice'sAdventuresinWonderland…seethepageabout"AliceinWonderland"☺20

最喜欢的书籍列表的 HTML5 文章或部分?

关于书籍的虚构网站。每本书都有自己的页面。现在我想添加一个页面,列出我一直以来最喜欢的书。哪个HTML5sectioningelements您会使用“容器”,每本书使用哪个?MARQUEE占位符和BLINK占位符应该是section还是article?页面可能如下所示:Books!NavigationMyalltimefavoritebooksTheHobbit,orThereandBackAgain…seethepageabout"TheHobbit"Alice'sAdventuresinWonderland…seethepageabout"AliceinWonderland"☺20

html - 在 HTML 中表示剧本台词的语义方式

取其中最著名的一组台词:Hamlet:Tobe,ornottobe:thatisthequestion:Whether'tisnoblerinthemindtosufferTheslingsandarrowsofoutrageousfortune,Ortotakearmsagainstaseaoftroubles,Andbyopposingendthem?Todie:tosleep;Nomore;andbyasleeptosayweendTheheart-acheandthethousandnaturalshocksThatfleshisheirto,'tisaconsummation

html - 在 HTML 中表示剧本台词的语义方式

取其中最著名的一组台词:Hamlet:Tobe,ornottobe:thatisthequestion:Whether'tisnoblerinthemindtosufferTheslingsandarrowsofoutrageousfortune,Ortotakearmsagainstaseaoftroubles,Andbyopposingendthem?Todie:tosleep;Nomore;andbyasleeptosayweendTheheart-acheandthethousandnaturalshocksThatfleshisheirto,'tisaconsummation

html - 如何使用微数据标记 "Related News"?

一篇新闻文章就像AwesomeNewsblablabla...如果我想包含相关新闻并对其进行标记怎么办?RelatedNews1RelatedNews2RelatedNews3 最佳答案 尝试使用来自WebPageitemtype的元素(来自:http://schema.org/WebPage,我知道您在这种情况下使用的是NewsArticle,但我在这个示例中使用了Article):HowtoTieaReefKnotbyJohnDoeThisarticlehasbeentweeted1203timesandcontains78us

html - 如何使用微数据标记 "Related News"?

一篇新闻文章就像AwesomeNewsblablabla...如果我想包含相关新闻并对其进行标记怎么办?RelatedNews1RelatedNews2RelatedNews3 最佳答案 尝试使用来自WebPageitemtype的元素(来自:http://schema.org/WebPage,我知道您在这种情况下使用的是NewsArticle,但我在这个示例中使用了Article):HowtoTieaReefKnotbyJohnDoeThisarticlehasbeentweeted1203timesandcontains78us

html - <b> 与 HTML5 中的 <span>

我一直难以决定何时使用b以及何时使用span。b的新语义元素看起来很模糊。Thebelementrepresentsaspanoftexttowhichattentionisbeingdrawnforutilitarianpurposeswithoutconveyinganyextraimportanceandwithnoimplicationofanalternatevoiceormood这听起来像是您不能使用strong、em或i时使用的标签。Thebelementshouldbeusedasalastresortwhennootherelementismoreappropriat

html - <b> 与 HTML5 中的 <span>

我一直难以决定何时使用b以及何时使用span。b的新语义元素看起来很模糊。Thebelementrepresentsaspanoftexttowhichattentionisbeingdrawnforutilitarianpurposeswithoutconveyinganyextraimportanceandwithnoimplicationofanalternatevoiceormood这听起来像是您不能使用strong、em或i时使用的标签。Thebelementshouldbeusedasalastresortwhennootherelementismoreappropriat