书签 分享 收藏 举报 版权申诉 / 61

类型前端编码规范.docx

  • 文档编号:7094057
  • 上传时间:2023-01-17
  • 格式:DOCX
  • 页数:61
  • 大小:49.04KB

4.News

5.About

6.

7. 

8.

9.

10.Allnewsarticles

11.

12.

Badarticle

13.Introductionsub-title

14.ThisisaverybadexampleforHTMLsemantics

15.IthinkI'mmoreonthesideandshouldnotreceivethemaincredits

16.

17.ThisarticlewascreatedbyDavid2014-01-0100:

00

18.

19.

20. 

21.

22.Relatedsections:

Events,Publicholidays

23.

24.

25.

26. 

27.

28.Copyright2014

29.

推荐

1.

--Thepageheadershouldgointoaheaderelement-->

2.

3.

--Asthistitlebelongstothepagestructureit'saheadingandh1shouldbeused-->

4.

Mypagetitle

5.

6. 

7.

--Allnavigationshouldgointoanavelement-->

8.

9.

--AlistingofelementsshouldalwaysgotoUL(OLfororderedlistings)-->

10.

15.

16. 

17.

--Themainpartofthepageshouldgointoamainelement(alsouserole="main"foraccessibility)-->

18.

19.

--Asectionofapageshouldgointoasectionelement.Divideapageintosectionswithsemanticelements.-->

20.

21.

--Asectionheadershouldgointoasectionelement-->

22.

23.

--Asapagesectionbelongstothepagestructureheadingelementsshouldbeused(inthiscaseh2)-->

24.Allnewsarticles

25.

26. 

27.

--Ifasection/modulecanbeseenasanarticle(newsarticle,blogentry,productsteaser,anyother

28.re-usablemodule/sectionthatcanoccurmultipletimesonapage)aarticleelementshouldbeused-->

29.

30.

--Anarticlecancontainaheaderthatcontainsthesummary/introductioninformationofthearticle-->

31.

32.

--Asaarticletitledoesnotbelongtotheoverallpagestructurethereshouldnotbeanyheadingtag!

-->

33.Goodarticle

34.

--Smallcanoptionallybeusedtoreduceimportance-->

35.Introductionsub-title

36.

37. 

38.

--Forthemaincontentinasectionorarticlethereisnosemanticelement-->

39.

40.

ThisisagoodexampleforHTMLsemantics

41.

42.

--Forcontentthatisrepresentedassidenoteorlessimportantinformationinagivencontextuseaside-->

43.

44.

IthinkI'mmoreonthesideandshouldnotreceivethemaincredits

45.

46.

--Articlescanalsocontainfooters.Ifyouhavefootnotesforanarticleplacethemintoafooterelement-->

47.

48.

--Thetimeelementcanbeusedtoannotateatimestamp.UsethedatetimeattributetospecifyISOtime

49.whiletheactualtextinthetimeelementcanalsobemorehumanreadable/relative-->

50.

ThisarticlewascreatedbyDavid

00"class="time">1monthago

51.

52.

53. 

54.

--Inasection,footnotesorsimilarinformationcanalsogointoafooterelement-->

55.

56.

Relatedsections:

Events,Publicholidays

57.

58.

59.

60. 

61.

--Yourpagefootershouldgointoaglobalfooterelement-->

62.

63.Copyright2014

64.

举报
举报
版权申诉
版权申诉
word格式文档无特别注明外均可编辑修改;预览文档经过压缩,下载后原文更清晰! 立即下载
配套讲稿:

如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

特殊限制:

部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

关 键  词:
前端 编码 规范
提示  冰豆网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
关于本文
本文标题:前端编码规范.docx
链接地址:https://www.bdocx.com/doc/7094057.html
相关搜索
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2008-2022 冰点文档网站版权所有

经营许可证编号:鄂ICP备2022015515号-1

收起
展开