仓酷云

标题: html5教程之在XHTML中不再利用HTML中的一些放弃元素 [打印本页]

作者: 小魔女    时间: 2015-1-15 23:22
标题: html5教程之在XHTML中不再利用HTML中的一些放弃元素
使用HTML5也是断断续续的有些历史了,但是没有系统的总结过,最近发现公司的图书馆有不少藏书,网页制造poluoluo文章简介:我们举行CSS网页结构的时分,都晓得它必要切合XHTML1.0标准,在poluoluo.com今天的文章中,向人人先容了DTD。假如我们在举行CSS网页结构的时分,还在利用被W3C放弃的元素,那就得到了利用CSS的意义,固然它们大概一样被款式把持。
  我们举行CSS网页结构的时分,都晓得它必要切合XHTML1.0标准,在poluoluo.com今天的文章中,向人人先容了DTD。假如我们在举行CSS网页结构的时分,还在利用被W3C放弃的元素,那就得到了利用CSS的意义,固然它们大概一样被款式把持。

  在XHTML中不再利用HTML中的一些放弃元素。它们次要有以下一些。

  ElementsandattributesthathavebeendeprecatedinthemostrecentversionofXHTML,XHTML1.0.

Elements

<applet></applet>
  Theappletelementhasbeendeprecatedinfavorof<object></object>.

<basefont/>
  Thebasefontelementhasbeendeprecatedinfavorofstylesheets.

<blackface></blackface>
  TheblackfaceelementisaWebTV(MSNTV)elementthathasbeendeprecatedinfavorofstylesheets.

<blockquote></blockquote>
  Theblockquoteelementisdeprecatedinfavorofstylesheetswhenusedtoindenttext.

<center></center>
  Thecenterelementhasbeendeprecatedinfavorofstylesheets.

<dir></dir>
  Thedirelementhasbeendeprecatedinfavorof<ul></ul>.

<embed/>
  Theembedelementhasbeendeprecatedinfavorof<object></object>.

<font></font>
  Thefontelementhasbeendeprecatedinfavorofstylesheets.

<i></i>
Theielementhasbeendeprecatedinfavorofstylesheets.

<isindex/>
  TheisindexelementhasbeendeprecatedinfavoroftheinputelementandCGIforms.

<layer></layer>
Thelayerelementhasbeendeprecatedinfavorofstylesheets.

<menu></menu>
  Themenuelementhasbeendeprecatedinfavorof<ul></ul>.

<noembed></noembed>
  Thenoembedelementhasbeendeprecatedinfavorof<object></object>.

<s></s>
  Theselementhasbeendeprecatedinfavorofstylesheets.

<shadow></shadow>
  Theshadowelementhasbeendeprecatedinfavorofstylesheets.

<strike></strike>
  Thestrikeelementhasbeendeprecatedinfavorofstylesheets.

<u></u>
  Thestrikeelementhasbeendeprecatedinfavorofstylesheets.

Attributes

alink
  ThealinkattributedefinesthecolorofanactivelinkontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

align
  Usedtoalignelementsverticallyandhorizontallyonthedocumentpage,thealignattributehasbeendeprecatedinfavorofstylesheets.

background
  Thebackgroundattributeisusedtodefineabackgroundimagefortheelement.Ithasbeendeprecatedinfavorofstylesheets.

border
  Usedtodefineaborderaroundtheelement,theborderattributehasbeendeprecatedinfavorofstylesheets.

color
  Usedtodefinethecoloroftheenclosedtext,thecolorattributehasbeendeprecatedinfavorofstylesheets.

compact
  Thecompactattributeisusedinlisttagstocreatealistthattakesuplessspace.Ithasbeendeprecatedinfavorofstylesheets.

face
  Usedtodefinethefontfaceoftheenclosedtext,thefaceattributehasbeendeprecatedinfavorofstylesheets.

height
  Usedtodefinetheheightoftheelement,theheightattributehasbeendeprecatedinfavorofstylesheets.

language
  Thelanguageattributeisusedtodefinethelanguageusedbythescriptelement.Ithasbeendeprecatedinfavorofthetypeattribute.

link
  ThelinkattributedefinesthecolorofalinkontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

name
  Thenameattributenamestheelementforusewithdynamiccontent,ithasbeendeprecatedinfavoroftheidattribute.

noshade
  Thenoshadeattributeremovesthe3-Deffectfromhorizontalrules.Ithasbeendeprecatedinfavorofstylesheets.

nowrap
  Usedtostoptablecontentsfromwrapping,thenowrapattributehasbeendeprecatedinfavorofstylesheets.

size
  Usedtodefinethesizeoftheenclosedtext,thesizeattributehasbeendeprecatedinfavorofstylesheets.

start
  Thestartattributeoflisttagsdefinesthestartingnumberofthelist.Thisattributehasbeendeprecatedinfavorofstylesheets.

text
  ThetextattributedefinesthecolorofthetextontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

type
  Thetypeattributeoflisttagsdefineswhattypeoflistshouldbeused.Thisattributehasbeendeprecatedinfavorofstylesheets.

value
  Thevalueattributeoflisttagssetsthevalueofthelistitem.Thisattributehasbeendeprecatedinfavorofstylesheets.

version
  TheversionattributedefinestheversionofHTMLusedbythedocument.IthasbeendeprecatedinfavorofDTDs.

vlink
  ThevlinkattributedefinesthecolorofavisitedlinkontheWebpage.Ithasbeendeprecatedinfavorofstylesheets.

width
  Thewidthattributedefinesthewidthinpixelsoftheelement.Ithasbeendeprecatedinfavorofstylesheets.

</p>
通过大家的心得,或许能找出"怎么学html5"这个问题的答案。另,我会不定期把群里面关于技术的讨论贴到本帖,敬请关注。
作者: 蒙在股里    时间: 2015-1-17 22:14
还是在Dreamweaver所见即所得添加链接是,可以选中文字或图片然后按下shift键不放鼠标拖出箭头直接指向文件即可。这是比较简单的也是常用的方之一。
作者: 小魔女    时间: 2015-1-26 05:10
经过两天的学习,总算对Dreamweaver有进一步的了解了,心中不免有些激动。今天和其他几位老师交流了一下,感觉受益匪浅.
作者: 莫相离    时间: 2015-2-4 15:30
难以逾越的障碍会大大打击你的学习积极性。这就需要你的恒心,坚持不懈的决心。在自己无法解决某些问题时,就需要虚心请教别人.
作者: 兰色精灵    时间: 2015-2-10 03:31
这个过程其实就是交流的过程。所有的这些都需要花时间。在面对完全陌生的软件时,就要多花时间对其产生初步的印象。此外,多操作也是非常重要的。
作者: 冷月葬花魂    时间: 2015-2-28 18:50
您在所见即所得网页编辑器进行网页制作和在WORD中进行文本编辑不会感到有什么区别,但它同时也存在着致命的弱点。
作者: 愤怒的大鸟    时间: 2015-3-10 07:07
Dreamweaver8中文版(dw)是由Macromedia公司开发的一款所见即所得的网页编辑器。和二维动画设计软件FLASH,专业网页图像设计软件FIREWORKS,并称为“网页三剑客”。
作者: 仓酷云    时间: 2015-3-17 06:10
使用内容管理系统进行开发并实现快速、精确的浏览器兼容性测试。
作者: 再见西城    时间: 2015-3-17 06:10
Dreamweaver由MX版本开始使用Opera软件公司的排版引擎“Presto”作为网页预览。
作者: 若天明    时间: 2015-3-23 23:42
直接用代码建立链接,如:可以直接输入 <a herf = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"red.html\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">红色的网页 12、插入标签法建立链接,可以再选中文字后在代码中插入html标签,页元素<a>.也可以按ctrl+t进入html标签插入方法之后输入代码即可。




欢迎光临 仓酷云 (http://www.ckuyun.com/) Powered by Discuz! X3.2