html4废弃了哪些元素,HTML中的一些废弃元素_html

如果我们在进行css网页布局的时候,还在使用被W3C废弃的元素,那就失去了使用CSS的意义,虽然它们可能同样被样式控制。

在Xhtml中不再使用HTML中的一些废弃元素。它们主要有以下一些。

Elements and attributes that have been deprecated in the most recent version of XHTML, XHTML 1.0.

Elements

The applet element has been deprecated in favor of .

The basefont element has been deprecated in favor of style sheets.

The blackface element is a webTV (MSN TV) element that has been deprecated in favor of style sheets.

The blockquote element is deprecated in favor of style sheets when used to indent text.

The center element has been deprecated in favor of style sheets.

The dir element has been deprecated in favor of 

The embed element has been deprecated in favor of .

The font element has been deprecated in favor of style sheets.

The i element has been deprecated in favor of style sheets.

The isindex element has been deprecated in favor of the input element and CGI forms.

The layer element has been deprecated in favor of style sheets.

The menu element has been deprecated in favor of 

The noembed element has been deprecated in favor of .

The s element has been deprecated in favor of style sheets.

The shadow element has been deprecated in favor of style sheets.

The strike element has been deprecated in favor of style sheets.

The strike element has been deprecated in favor of style sheets.

Attributes

alink

The alink attribute defines the color of an active link on the Web page. It has been deprecated in favor of style sheets.

align

Used to align elements vertically and horizontally on the document page, the align attribute has been deprecated in favor of style sheets.

background

The background attribute is used to define a background image for the element. It has been deprecated in favor of style sheets.

border

Used to define a border around the element, the border attribute has been deprecated in favor of style sheets.

color

Used to define the color of the enclosed text, the color attribute has been deprecated in favor of style sheets.

compact

The compact attribute is used in list tags to create a list that takes up less space. It has been deprecated in favor of style sheets.

face

Used to define the font face of the enclosed text, the face attribute has been deprecated in favor of style sheets.

height

Used to define the height of the element, the height attribute has been deprecated in favor of style sheets.

language

The language attribute is used to define the language used by the script element. It has been deprecated in favor of the type attribute.

link

The link attribute defines the color of a link on the Web page. It has been deprecated in favor of style sheets.

name

The name attribute names the element for use with dynamic content, it has been deprecated in favor of the id attribute.

noshade

The noshade attribute removes the 3-D effect from horizontal rules. It has been deprecated in favor of style sheets.

nowrap

Used to stop table contents from wrapping, the nowrap attribute has been deprecated in favor of style sheets.

size

Used to define the size of the enclosed text, the size attribute has been deprecated in favor of style sheets.

start

The start attribute of list tags defines the starting number of the list. This attribute has been deprecated in favor of style sheets.

text

The text attribute defines the color of the text on the Web page. It has been deprecated in favor of style sheets.

type

The type attribute of list tags defines what type of list should be used. This attribute has been deprecated in favor of style sheets.

value

The value attribute of list tags sets the value of the list item. This attribute has been deprecated in favor of style sheets.

version

The version attribute defines the version of HTML used by the document. It has been deprecated in favor of DTDs.

vlink

The vlink attribute defines the color of a visited link on the Web page. It has been deprecated in favor of style sheets.

width

The width attribute defines the width in pixels of the element. It has been deprecated in

欢迎大家阅读《HTML中的一些废弃元素_html》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码

搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权

转载请注明原文链接:HTML中的一些废弃元素_html

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/417574.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

vs2010编写的net3.5用vs2008打开

*.sln解决方案文件将Microsoft Visual Studio Solution File, Format Version 11.00改为Microsoft Visual Studio Solution File, Format Version 10.00 *.csproj项目文件网站项目需要修改,类库项目可以直接打开有<Import Project"$(MSBuildExtensionsPath32)\Microsof…

r语言rank降序_R语言rank函数详细解析

1.rank函数是什么rank相关文档[1]可以译为"返回原数组(?)中各个元素排序(?)后的秩次(?)"&#xff0c;表面上看确实可以得到次序&#xff0c;但对数组、排序、秩次交待不清。2.rank函数使用情景比如&#xff0c;在100米赛跑中&#xff0c;甲乙丙三人的成绩为6.8s, …

计算机时代 英语,雅思8分范文:计算机时代教师角色 【出国英语】

雅思8分范文&#xff1a;计算机时代教师角色 【出国英语】The computer are widely used in education and some people think teacher are not play important role in the classroom .to what extend do you agree? (agree/disagree)医学教育网nowadays, the computer is ra…

C# 列出进程以及详细信息

建立一个listBox将进程名称遍历进去 this.listBox1.Items.Clear();Process[] MyProcessesProcess.GetProcesses();foreach(Process MyProcess in MyProcesses){this.listBox1.Items.Add(MyProcess.ProcessName);}this.listBox1.SelectedIndex0; 选中listBox里面的项后将进程详…

Nginx配置文件(nginx.conf)配置详解

Nginx的配置文件nginx.conf配置详解如下&#xff1a; user nginx nginx ; Nginx用户及组&#xff1a;用户 组。window下不指定 worker_processes 8; 工作进程&#xff1a;数目。根据硬件调整&#xff0c;通常等于CPU数量或者2倍于CPU。 error_log logs/error.log; error_log…

vue 怎么清空依赖_vuejs如何在把对象所有属性清空?

删除该轮播图加入该新轮播图var homepageConfig [{type: 1,itemList: [{imageUrl: "https://static.segmentfault.com/v-59311a93/global/img/logo-b.svg?v001",url: "1.html"},{imageUrl: "https://static.segmentfault.com/v-59311a93/global/img…

web编程 模块1 html,PYcore python programming笔记C20 Web编程

&#xfeff;&#xfeff;C20 Web编程20.1介绍C/S架构 服务端永远运行HTTP协议 &#xff1a;无状态协议&#xff0c;不跟踪一个客户端到另一个客户端的请求&#xff0c;但会被处理为独立的服务请求使用URL和cookie保存信息URL 统一资源定位器URI 统一资源标识器URL是URI的一…

java 根据类路径获取类_Java类加载器

类加载器Java程序可以通过类加载器来达到通过一个类的全限定类名来获取该类的二进制字节流。类与类加载器对于任意一个类&#xff0c;都必须由加载它的类加载器和这个类本身一起共同确立其在Java虚拟机中的唯一性&#xff0c;每一个类加载器都拥有一个独立的类名称空间。即时这…

rsync 服务快速部署手册

一、rsync服务端安装 1、查看rsync安装包 # rpm -qa rsyncrsync-3.0.6-12.el6.x86_642、安装rsync 系统默认都会安装rsync软件包的&#xff0c;如果查看发现没有安装&#xff0c;执行yum安装即可# yum install rsync -y3、添加rsync服务的用户&#xff0c;管理本地目录的 # use…

C# 用户控件事件

当用户控件中btnNeed按钮被点击时&#xff0c;激活本用户控件的BtnClick事件&#xff0c;此事件可以在页面中捕获。-----------用户控件---------------protected void btnNeed_Click(object sender, EventArgs e) { if (BtnClick ! null) Bt…

html不支持元素video,Html5中的Video元素使用方法

现在互联网视频大都使用Flash来实现。但是不同的浏览器可能使用不同的插件。在HTML5中则提供了一个统一的方式来展示视频内容。HTML5 video在Internet Explorer 9, Firefox, Opera, Chrome, 和Safari都支持。IE8及其更早的浏览器不支持。代码如下Your browser does not support…

Matlab命令大全

MATLAB命令大全管理命令和函数help 在线帮助文件doc 装入超文本说明what M、MAT、MEX文件的目录列表type 列出M文件lookfor 通过help条目搜索关键字which 定位函数和文件Demo 运行演示程序Path 控制MATLAB的搜索路径管理变量和工作空间…

千牛通知栏常驻是什么意思_店铺运营|内贸1688 店铺真正的权重是什么?

想必大家都听说过店铺权重/单品权重/客户标签 这些名词。那到底是怎么操作的呢&#xff1f; 以下是简单的大纲&#xff1a;店铺权重的拆解拆分里面的小指标&#xff0c;看看我们有没有操作的空间单品的权重拆分里面的小指标&#xff0c;有哪些因素是我们能够控制的&#xff1f;…

初入网络系列笔记(6)TFTP协议

一、借鉴说明&#xff0c;本博文借鉴以下博文 1.锤子&#xff0c;FTP协议&#xff0c;http://www.cnblogs.com/loadrunner/archive/2008/01/09/1032264.html 2.sunada&#xff0c;FTP协议及工作原理详解&#xff0c;http://www.cnblogs.com/sunada2005/articles/2781712.html 3…

计算机科学与技术班级口号八字,班级的八字口号

第1篇&#xff1a;初中班级八字口号1.拼搏奋进、永远进步2.全民健身、利国利民3.健康第一、从我做起4.零二零二&#xff0c;独一无二5.零三零三&#xff0c;奋勇争先6.四班四班&#xff0c;锐不可当7.展现自我、争创新高8.奥运精神、永驻我心9.强身健体、立志成材10.顽强拼搏、…

Prolog学习笔记100805

//love(zhangxueyou,wanfei). 爱(张学友,王菲). “张学友爱王菲”。prolog是不允许使用除了基本字符以外字符的。最末尾的“.”一定不能掉&#xff0c;它表示一个句子结束。 //“:-”在prolog中表示“如果”的意思&#xff0c;我们使用它来定义规则。lovers(X,Y):-love(X,Y),lo…

charts引入icon图片_v-charts 踩坑之路

最近要做一个大屏 没有使用echarts 使用了更适合vue封装的v-charts组件库&#xff0c;第一次使用 期间踩了不少坑&#xff0c;记录下来和大家分享一下。废话不多说 开始搞起来&#xff01;一、安装 引入什么的大家自行百度 百度一下&#xff0c;你就知道​www.baidu.com二、2.1…

今天星期一在家值班

只盼着不要出问题 转载于:https://www.cnblogs.com/bkchengzheng/p/6196193.html

高一学生计算机知识现状分析,关于高中信息技术课教学现状的思考

一、 当前信息技术教学现状的分析(一)课程开设的现状高中信息技术课已经开展好多年了&#xff0c;总的来说&#xff0c;越来越被教育部门重视了&#xff0c;从刚开始的仅仅要求学生认识计算机&#xff0c;到学习一些简单处理软件&#xff0c;到把信息技术整合成一门象样的…