admin管理员组文章数量:1534214
文章数量:1534214
2024年3月26日发(作者:)
基本结构标签:
,表示该文件为HTML文件
,
,的结束标志
其它主要标签,以下所有标志用在
,链接标志,"…"为链接的文件地址
,显示图片标志,"…"为图片的地址
,换行标志
,分段标志
,采用黑体字
,采用斜体字
,字体样式标志
属性:
属性是用来修饰标志的,属性放在开始标志内.
例:属性bgcolor="BLACK"表示背景色为黑色.
引用属性的例子:
常用属性:
对齐属性,范围属性:
ALIGN=LEFT,左对齐(缺省值),WIDTH=象素值或百分比,对象宽度.
ALIGN=CENTER,居中,HEIGHT=象素值或百分比,对象高度.
ALIGN=RIGHT,右对齐.
色彩属性:
COLOR=#RRGGBB,前景色,参考色彩对照表.
BGCOLOR=#RRGGBB,背景色.
cellpadding=数值单位是像素,定义表元内距
cellspacing=数值单位是像素,定义表元间距
border=数值单位是像素,定义表格边框宽度
width=数值单位是像素或窗口百分比,定义表格宽度
background=图片链接地址,定义表格背景图
Colspan="",单元格跨越多列;
Rowspan="",单元格跨越多行;
Width="";定义表格宽度
Height="";定义表格高度
Align="";对齐方式
Valign="";
Border="",边框宽度;
Bgcolor="",背景色;
Bordercolor="",边框颜色;
Bordercolorlight="",边框明亮面的颜色;
Bordercolordark="",边框暗淡面的颜色;
Cellpadding="",内容与边框的距离(默认为2);
Cellspacing="",单元格间的距离(默认为2);
强制换行
文本标识的开始和结束
face=字体
color=颜色
加粗文字标识的开始和结束
style=font-size:40pt;,用样式表方式控制字体大小,这里是40点
align=|center|left|right|水平对齐方式
动态标识的开始和结束,如标识内放置贴图格式则可实现图
片滚动
scrollamount=1~60,滚动速度
direction=|left|right|up|down|,滚动方向
scrolldelay=滚动延时,单位:毫秒
段落标识,
空格符,
贴图标识
src=../../图片链接地址,贴图标识必备属性
style=filter:Alpha(opacity=100,style=2);
filter:样式表滤镜;
Alpha:透明滤镜,
opacity:不透明度100(0~100);
style:样式2(0~3),
rules="none"不显示内框"
多媒体文件标识
SRC="../../FILENAME",
设定音乐文件的路径,文件类型除了可以播放.rm;.mp3;.wav等音频,还可播放.swf
和.mov等视频.
AUTOSTART=TRUE/FALSE,
是否要音乐文件传送完就自动播放,TRUE是要,FALSE是不要,默认为FALSE
LOOP=,设定播放重复次数,LOOP=6表示重复6次,true或-1为无限循环,false为播
放一次即停止.
STARTIME="分:秒",
设定乐曲的开始播放时间,如20秒后播放写为STARTIME=00:20
VOLUME=0-100,
设定音量的大小.如果没设定的话,就用系统的音量.
WIDTH,HEIGHT,
设定控制面板的大小,都设为0可隐藏播放器
HIDDEN=TRUE,
隐藏控制面板
CONTROLS=CONSOLE/SMALLCONSOLE,
设定控制面板的样子,
,背景音乐标识,只能用于.wav和.mp3格式.
表单标签:
下边的标签放在表单内:
下拉选择框
Multiple,多选
,大量文字输入的编辑块
Cols="",行;
Rows="",列;
,文本框
,密码框
,提交按扭
,复选框
,单选框
,重置按扭
,图片按扭
,隐藏域
,按扭
,浏览文件
公共属性:
Name="";
Value=""
Size=""
框架标签:
,放在框架标签内,定义每个框架的内容.
Cols=""
Rows=""
Frameborder=""
Framespacing=""
src=""
Scrolling="",滚动条(No,Yes);
Noresize,框加大小不可变;
Marginhight="",高度空余空间;
Marginwidth="",宽度空余空间;
Target="",目标框架.
其他标签:
,背景音乐;
Src=""
Loop="",循环次数;
,媒体播放块;
,滚动部分;
Bgcolor=""
Behavior,设置或获取文本如何在字幕中滚动.
Direction="",滚动方向;
Height=""
Width=""
Loop="",环次数;
scrollAmount="",设置或获取介于每个字幕绘制序列之间的文本滚动像素数.
scrollDelay="",设置或获取字幕滚动的速度.
scrollHeight="",获取对象的滚动高度;
scrollLeft="",设置或获取位于对象左边界和窗口中目前可见内容的最左端之间的距
离.
scrollTop="",设置或获取位于对象最顶端和窗口中可见内容的最顶端之间的距离.
trueSpeed="",设置或获取字幕的位置是否使用scrollDelay和scrollAmount属性计
算,已过的实际时间来自于时钟计时.
,注释标记,在""之间的内容将不在浏览器中显示.
--
基本标签:
,创建一个HTML文档;
,下划线
,黑体字;
,斜体字;
,打字机风格的字体;
,引用,通常是斜体;
,强调文本(通常是斜体加黑体);
,加重文本(通常是斜体加黑体);
,设置字体大小从1到7,颜色使用名字或RGB的十
六进制值;
,基准字体标记;
,字体加大;
,字体缩小;
,加删除线;
,程式码;
,键盘字;
,范例;
,变量;
,述语定义;
,上标字;
,下标字;
...固定宽度字体(不执行标记符号);
...字体颜色;
...最小字体;
...无限增大.
格式标签:
,将段落按左、中、右对齐;
,换行,插入一个回车换行符;
例:
放在
加上一个圆点;
,强行不换行;
链接标签:
,创建超文本链接;
,创建自动发送电子邮件的链接;
,创建位于文档内部的书签;
,创建指向位于文档内部书签的链接;
,文档中不能被该站点辨识的其它所有链接源的URL;
,定义一个链接和源之间的相互关系;
链接标签注解:
target="...",决定链接源在什么地方显示(用户自定义的名
字,_blank,_parent,_self,_top);
rel="...",发送链接的类型;
rev="...",保存链接的类型;
accesskey="...",指定该元素的热键;
shape="...",允许我们使用已定义的形状定义客户端的图形镜像
(default,rect,circle,poly);
coord="...",使用像素或者长度百分比来定义形状的尺寸;
tabindex="...",使用定义过的tabindex元素设置在各个元素之间的焦点获取顺序(使
用tab键使元素获得焦点).
表格标签:
,定义表格的页眉;
action="...",接收数据的服务器的URL;
method="...",HTTP的方法(get,,post),其中get是被反对使用的;
enctype="...",指定MIME(Internet媒体类型);
onsubmit="...",当提交表单时发生的内部事件;
noreset="...",在重新设置表单时发生的内部事件;
target="...",决定把内容显示在什么地方(_blank,_parent,_self,_top)
,创建滚动菜单,size设置在需
要滚动前可以看到的表单项数目;
,设置每个表单项的内容;
,创建下拉菜单;
,创建一个文本框区域,列
的数目设置宽度,行的数目设置高度;
,创建一个复选框,文字在标签后面;
,创建一个单选框,文字在标志后面;
,创建一个单行文本输入区域,size设置以
字符串的宽度;
,创建提交(submit)按钮;
,创建一个使用
图象的提交(submit)按钮;
,创建重置(reset)按钮;
,创建一个按钮;
disabled="...",把按钮的状态设置为不能;
name="...",按钮的控制名,value="...",按钮的值;
type="...",按钮的类型(button,,submit,,reset);
,提示用户输入;
,为一个控件提供标签;
,为FIELDSET元素指定一标题;
,为用户做选择创建各个选项;
,创建一个允许用户多行输入的区域.
表单标签注解:
type="...",用于输入控件的类型
(text,password,checkbox,radio,submit,reset,file,hidden,image,button);
name="...",控件的控制名(要求是除了submit和reset之外的任何名字);
value="...",控件的初始值;
checked="...",把一个单选钮设置为选中的状态;
disabled="...",把控件的状态设置为不能使用;
readonly="...",只对输入密码的文本框使用;
size="...",表示以像素为单位的除了文本框和密码框控件之外的其它控件的宽度,它是
用来指定字符的数目;
src="...",一个图像控件的URL;
maxlength="...",指定可以输入的最多的字符数目;
alt="...",另外一种文本描述;
usemap="...",到客户端图形镜像的URL;
align="...",被反对.控制对齐方式(left,,center,,right,,justify);
tabindex="...",通过定义的tabindex值确定在不同元素之间获得焦点的顺序;
onfocus="...",当元素获得焦点时发生的事件;
onblur="...",当元素失去焦点时发生的事件;
onselect="...",当元素被选中时发生的事件;
onchang="...",当元素状态被改变时发生的事件;
accept="...",允许上载的文件类型.
帧标签(框架标签):
文档中;
,定义一个帧内的单一窗或窗区域;
,定义在不支持帧的浏览器中显示什么提示;
,规定帧内显示的HTML文档;
,命名帧或区域以便别的帧可以指向它;
,定义帧左右边缘的空白大小,必须大于等于1;
,定义帧上下边缘的空白大小,必须大于等于1;
,设置帧是否有滚动栏,其值可以是"yes","no",或"auto";
,禁止用户调整一个帧的大小;
,创建一个内联的帧;
scr="...",定义在帧中显示的内容的来源;
frameborder="...",定义帧之间的边界(0或1);
align="...",被反对,控制对齐方式(left,,center,,right,,justify);
height="...",帧的高度,width="..."帧的宽度;
...,普通卷动;
...,滑动;
...,预设卷动;
...,来回卷动;
...,向下卷动;
...,向上卷动;
,向右卷动;
,向左卷动;
...,卷动次数;
...,设定宽度;
...,设定高度;
...,设定背景颜色;
...,设定卷动距离;
...,设定卷动时间;
,插入图片,参数有:width="宽",alt="说明文字",height="高",boder="
边框".
文档整体属性标签:
CSS常用基本属性
CSS文字属性:
color : #999999; /*文字颜色*/
font-family : 宋体,sans-serif; /*文字字体*/
font-size : 9pt; /*文字大小*/
font-style:itelic; /*文字斜体*/
font-variant:small-caps; /*小字体*/
letter-spacing : 1pt; /*字间距离*/
line-height : 200%; /*设置行高*/
font-weight:bold; /*文字粗体*/
vertical-align:sub; /*下标字*/
vertical-align:super; /*上标字*/
text-decoration:line-through; /*加删除线*/
text-decoration:overline; /*加顶线*/
text-decoration:underline; /*加下划线*/
text-decoration:none; /*删除链接下划线*/
text-transform : capitalize; /*首字大写*/
text-transform : uppercase; /*英文大写*/
text-transform : lowercase; /*英文小写*/
text-align:right; /*文字右对齐*/
text-align:left; /*文字左对齐*/
text-align:center; /*文字居中对齐*/
text-align:justify; /*文字分散对齐*/
vertical-align属性
vertical-align:top; /*垂直向上对齐*/
vertical-align:bottom; /*垂直向下对齐*/
vertical-align:middle; /*垂直居中对齐*/
vertical-align:text-top; /*文字垂直向上对齐*/
vertical-align:text-bottom; /*文字垂直向下对齐*/
★CSS符号属性:
list-style-type:none; /*不编号*/
list-style-type:decimal; /*阿拉伯数字*/
list-style-type:lower-roman; /*小写罗马数字*/
list-style-type:upper-roman; /*大写罗马数字*/
list-style-type:lower-alpha; /*小写英文字母*/
list-style-type:upper-alpha; /*大写英文字母*/
list-style-type:disc; /*实心圆形符号*/
list-style-type:circle; /*空心圆形符号*/
list-style-type:square; /*实心方形符号*/
list-style-image:url(/); /*图片式符号*/
list-style-position:outside; /*凸排*/
list-style-position:inside; /*缩进*/★CSS背景样式:
background-color:#F5E2EC; /*背景颜色*/
background:transparent; /*透视背景*/
background-image : url(/image/); /*背景图片*/
background-attachment : fixed; /*浮水印固定背景*/
background-repeat : repeat; /*重复排列-网页默认*/
background-repeat : no-repeat; /*不重复排列*/
background-repeat : repeat-x; /*在x轴重复排列*/
background-repeat : repeat-y; /*在y轴重复排列*/★指定背景位置
background-position : 90% 90%; /*背景图片x与y轴的位置*/
background-position : top; /*向上对齐*/
background-position : buttom; /*向下对齐*/
background-position : left; /*向左对齐*/
background-position : right; /*向右对齐*/
background-position : center; /*居中对齐*/★CSS连接属性:
a /*所有超链接*/
a:link /*超链接文字格式*/
a:visited /*浏览过的链接文字格式*/
a:active /*按下链接的格式*/
a:hover /*鼠标转到链接*/
★ 鼠标光标样式:
链接手指 CURSOR: hand
十字体 cursor:crosshair
箭头朝下 cursor:s-resize
十字箭头 cursor:move
箭头朝右 cursor:move
加一问号 cursor:help
箭头朝左 cursor:w-resize
箭头朝上 cursor:n-resize
箭头朝右上 cursor:ne-resize
箭头朝左上 cursor:nw-resize
文字I型 cursor:text
箭头斜右下 cursor:se-resize
箭头斜左下 cursor:sw-resize
漏斗 cursor:wait
光标图案(IE6) p {cursor:url(”光标文件名.cur”),text;}★CSS框线:
border-top : 1px solid #6699cc; /*上框线*/
border-bottom : 1px solid #6699cc; /*下框线*/
border-left : 1px solid #6699cc; /*左框线*/
border-right : 1px solid #6699cc; /*右框线*/
以上是建议书写方式,但也可以使用常规的方式 如下:border-top-color : #369 /*设
置上框线top颜色*/
border-top-width :1px /*设置上框线top宽度*/
border-top-style : solid/*设置上框线top样式*/
其他框线样式
solid /*实线框*/
dotted /*虚线框*/
double /*双线框*/
groove /*立体内凸框*/
ridge /*立体浮雕框*/
inset /*凹框*/
outset /*凸框*/
本文标签: 设置定义表格
版权声明:本文标题:常用HTML、CSS标签属性 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1711454875a310595.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
详解-sdk解释和定义以及开发要点 关于SDK的解释什么是SDK什么是Library什么是Framework什么是API四者之间的关联 架构中的一些核心点.浅谈SDK实现目标简洁易用常见的SDK初始化如下:一个优良的API简单可靠稳定高效
下面是一个VBA自动化处理Excel表格的示例代码,展示了如何读取数据、处理数据并将结果写回到另一个工作表中。假设我们有一个工作表Sheet1,其中包含员工的工资数据,我们需
自从ChatGPT引爆大模型发展热潮,众多科技企业前赴后继,纷纷投入大模型研发中。然而,这波创业浪潮中鲜有小微初创企业的身影,甚至一些堪称“准独角兽”规
请问excel表格被误删了一列并保存了 要怎么恢复 我们需备的材料分别是:电脑、excel表格。 1、首先打开excel工作簿,单击左的文件选项。 2、在弹出的界面中找到管理工作簿
有些刚开始进行CAD制图初学入门学习的小伙伴在使用国产CAD软件绘制建筑图纸的过程中,不知道如何使用浩辰CAD建筑软件的视口功能,那么CAD软件如何定义视口呢?接下来的CAD
目录 简介 特性 效果展示 表格识别 版面分析和表格识别 版面恢复 关键信息抽取 快速开始 1. 准备环境 1.1 安装PaddlePaddle 1.2 安装PaddleOCR whl包 2 快速使用 3. 便
数据结构的基本概念 数据(Data) 是描述客观事物的数值、字符以及能输入机器且能被处理的各种符号集合。数据包含整型、实型、布尔型、图象、字符、声音等一切可以输入到计算机中的符号集合。 数据元素
摘要 引入了一种名为RobusTabNet的方法来进行表格检测和结构识别。对于表格检测,使用CornerNet来作为RPN。对于表格结构识别,提出了基于空间CNN的分割模块和基于Grid CNN
Windows系统下使用pyinstaller打包PaddleOCR中表格识别PP-Structure 一、系统环境及PP-Structure简述二、安装Python环境与PP-Structure三、使用pyinstaller打包为exe文
Awesome-Table-Recognition A curated list of resources dedicated to table recognition github会长期维护和更新,欢迎star,fork,pr,iss
1 产品简介 HC89F003 是一颗采用高频低功耗 CMOS 工艺设计开发的增强型 8 位单片机,内部有 16K Bytes FLASH 程序存储器,256 Bytes IRAM 和 256 Bytes XRAM,18 个双向 IO 口
今天来梳理一下java中的方法 方法定义 方法重载 构造函数 方法定义 定义:可以简单的理解为:一个模型的功能,一个对象的行为,一个function(函
下面这个是网上摘抄的示例:(http:zhidao.baiduquestion161985869.html) #include<iostream.h>#
出品|网易智能 2021年,是vivo的第26周年,也是整个vivo品牌的十周年,从这两年vivo发布产品的节奏,到对产品特点与技术的考量,vivo都表现出了「从容应对」的姿态,这种从容更多是来源于vivo这家企业对自身的思考。 9月9
最近用POI导出数据到excel,文件可以在浏览器下载,只是下载excel表格后缀名为.do形式。这里的do是我web.xml配置的filter过滤去的拦截方式,事实证明,这
在Excel如何清除表格中的数据,但保留表格中的公式? 打开Excel表格,如下图: 2.点击右键,点击“复制”选项复制该数据&a
原标题:"excel表格如何使用mid函数,excel表格mid函数的使用方法"关于电脑问题教程分享。 - 来源:191路由网 - 编辑:小元。 很多朋友都在使用excel,它
这个得根据你具体要求来定,假设同从1开始,步长为1的,可以用 row(A1) 下拉。 如果是从5开始,步长为3的,可以 row(A
内容简介 本书将帮助读者自上而下,体系化梳理互联网运营。从运营概念的重新定性,运营在组织中角色的重新定位,到内容、用户、活动、新媒体等子运营板块的重新结构化拆解&#
目前,标准化考试正大行其道, 本考试系统功能: ★学生除输入姓名外,其余操作都用鼠标完成,非常方便。 ★系统可自动扫描考生姓名、成