仓酷云

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 1049|回复: 9
打印 上一主题 下一主题

[HTML5] html5教程之在XHTML中不再利用HTML中的一些放弃元素

[复制链接]
小魔女 该用户已被删除
跳转到指定楼层
楼主
发表于 2015-1-15 23:22:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?立即注册

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

本版积分规则

QQ|Archiver|手机版|仓酷云 鄂ICP备14007578号-2

GMT+8, 2024-5-4 07:56

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表