当前位置: 首页 > news >正文

政府网站改造的意义攀枝花网站seo

政府网站改造的意义,攀枝花网站seo,做网站字体规范,织梦网站加滚动公告文本语义元素 HTML中,根据逻辑来划分和识别文本在网页中所起的作用,给文本添加内涵,即所谓文本语义元素。 除了标题元素之外,HTML还提供了许多其他的元素,来为内容作上标记,以便能够识别它们在网页中所起…

文本语义元素

HTML中,根据逻辑来划分和识别文本在网页中所起的作用,给文本添加内涵,即所谓文本语义元素。

除了标题元素之外,HTML还提供了许多其他的元素,来为内容作上标记,以便能够识别它们在网页中所起的作用。其中最常见的有表示文本段落的 p 元素,表示换行的 br 元素等。还有其他鲜为人知的,用来表示非常特殊的网页内容的元素,如,kbd表示由键盘输入的文本。

HTML5中的文本语义元素及其功能描述和示例见表表 2‑1:

表 2‑1 文本语义元素caption
元素功能描述及示例
q定义一段比较短的引用内容(q 是 quote 的缩写),浏览器默认会该引用的内容加上双引号
The judge said <q>You can drink water from the fish tank</q> but advised against it.
dfn定义一个术语(dfn 是 defining instance 的缩写),浏览器会渲染为斜体
The term <dfn>organic food</dfn> refers to food produced without synthetic chemicals.
abbr定义一个缩写文本(abbr 是 abbreviation 的缩写),建议在 abbr 的 title属性中描述缩写的全称,当鼠标悬停在缩写上,会提示其全称
Organic food in Ireland is certified by the <abbr title="Irish Organic Farmers and Growers Association">IOFGA</abbr>.
code定义计算机代码片段(如果需要保留空格、换行等可以在 code 外面包一层 pre)
The <code>fruitdb</code> program can be used for tracking fruit production.
var定义程序中的变量,浏览器会渲染为斜体,pre code var 可以结合使用
If there are <var>n</var> fruit in the bowl, at least <var>n</var>÷2 will be ripe.
samp定义由程序输出的示例文本(samp 是 sample 的缩写)
The computer said <samp>Unknown error -3</samp>.
kbd定义由键盘输入的文本(kbd 是 keyboard 的缩写)
Hit <kbd>F1</kbd> to continue.
i替代文本,浏览器会渲染为斜体Lemonade consists primarily of <i>Citrus limon</i>.
b定义关键字,浏览器会渲染为粗体
Take a <b>lemon</b> and squeeze it with a <b>juicer</b>.
u定义注释文本,浏览器会在文本下面添加下划线
The mixture of apple juice and <u class="spelling">eldeflower</u> juice is very pleasant.
bdi定义用于双向文本格式(bdi 是 bi-directional isolate 的缩写)
The recommended restaurant is <bdi lang="">My Juice Café (At The Beach)</bdi>
bdo定义文本排列的方向(bdo 是 bi-directional orientation的缩写)
The proposal is to write English, but in reverse order. "Juice" would become "<bdo dir=rtl>Juice</bdo>"
span定义行内元素
In French we call it <span lang="fr">sirop de sureau</span>
wbr定义换行的时机(wbr 是 word break 的缩写),处理字符型语言时,显示一段没有空格的字符串时,无论其多长都不会换行,如果有 wbr 标签,则字符串会在浏览器宽度不够时主动换行
www.simply<wbr>orange<wbr>juice.com

em元素

em表示强调(em 是 emphasis 的缩写),用于定义局部强调的文本,来改变句子或段落的侧重点。

就像说话时强调某些词语一样,对于相同的一句话,em 在句子中的位置,会影响句子的含义。即便是相同的一句话,强调的位置不同,所表示的含义往往不同。如:

1)没有任何强调:

 
  1. <p>Cats are cute animals.</p>

2)强调Cats:

 
  1. <p><em>Cats</em> are cute animals.</p>

3)强调are:

 
  1. <p>Cats <em>are</em> cute animals.</p>

4)强调cute:

 
  1. <p>Cats are <em>cute</em> animals.</p>

5)强调animals:

 
  1. <p>Cats are cute <em>animals</em>.</p>

6)强调整句话:

 
  1. <p><em>Cats are cute animals.</em></p>

默认情况下,浏览器都会把强调文本显示为斜体。为了突出显示强调位置的变化,这里特意将强调文本使用红色显示,请读者体会强调位置对同一句话的影响。运行结果如图 2‑16 所示:

改变强调位置图2-16 改变强调位置

版权声明:本文出自 歪脖网 的《HTML5宝典》,欢迎在线阅读,并提出宝贵意见。


文章转载自:
http://coetaneous.dtrz.cn
http://opster.dtrz.cn
http://fursemide.dtrz.cn
http://entoptoscope.dtrz.cn
http://trouty.dtrz.cn
http://preternatural.dtrz.cn
http://deed.dtrz.cn
http://peperoni.dtrz.cn
http://conestoga.dtrz.cn
http://suspensively.dtrz.cn
http://pity.dtrz.cn
http://intercommunicate.dtrz.cn
http://antibusing.dtrz.cn
http://intacta.dtrz.cn
http://hellen.dtrz.cn
http://presanctified.dtrz.cn
http://hectogramme.dtrz.cn
http://forget.dtrz.cn
http://brassage.dtrz.cn
http://gronk.dtrz.cn
http://shone.dtrz.cn
http://impenetrate.dtrz.cn
http://dairyman.dtrz.cn
http://righto.dtrz.cn
http://antifriction.dtrz.cn
http://gunplay.dtrz.cn
http://globulet.dtrz.cn
http://unmaidenly.dtrz.cn
http://skivvy.dtrz.cn
http://tontine.dtrz.cn
http://psywar.dtrz.cn
http://shocked.dtrz.cn
http://archaist.dtrz.cn
http://trad.dtrz.cn
http://panhead.dtrz.cn
http://unease.dtrz.cn
http://sunkist.dtrz.cn
http://kutien.dtrz.cn
http://toothful.dtrz.cn
http://lablab.dtrz.cn
http://marksmanship.dtrz.cn
http://lentando.dtrz.cn
http://carpet.dtrz.cn
http://telautography.dtrz.cn
http://hardboard.dtrz.cn
http://aerobiologist.dtrz.cn
http://carbarn.dtrz.cn
http://romanize.dtrz.cn
http://grillage.dtrz.cn
http://sunderance.dtrz.cn
http://solfege.dtrz.cn
http://chagos.dtrz.cn
http://nerts.dtrz.cn
http://mongol.dtrz.cn
http://antagonize.dtrz.cn
http://unexceptional.dtrz.cn
http://hospital.dtrz.cn
http://lockpick.dtrz.cn
http://deprive.dtrz.cn
http://doubt.dtrz.cn
http://monaul.dtrz.cn
http://laticiferous.dtrz.cn
http://silversides.dtrz.cn
http://afrikaans.dtrz.cn
http://paleogenesis.dtrz.cn
http://boyg.dtrz.cn
http://potiche.dtrz.cn
http://krakatau.dtrz.cn
http://lumber.dtrz.cn
http://eluate.dtrz.cn
http://prof.dtrz.cn
http://solitaire.dtrz.cn
http://moorage.dtrz.cn
http://scraper.dtrz.cn
http://shoestring.dtrz.cn
http://spearfisherman.dtrz.cn
http://scalene.dtrz.cn
http://crannied.dtrz.cn
http://generant.dtrz.cn
http://hobbyhorse.dtrz.cn
http://czech.dtrz.cn
http://flytable.dtrz.cn
http://fork.dtrz.cn
http://multiplex.dtrz.cn
http://bilharziasis.dtrz.cn
http://likewise.dtrz.cn
http://pegasus.dtrz.cn
http://bechance.dtrz.cn
http://cytotrophoblast.dtrz.cn
http://mineralogist.dtrz.cn
http://uptake.dtrz.cn
http://reconfigure.dtrz.cn
http://nobler.dtrz.cn
http://battered.dtrz.cn
http://looseleaf.dtrz.cn
http://facilitation.dtrz.cn
http://teak.dtrz.cn
http://portiere.dtrz.cn
http://monkish.dtrz.cn
http://nodal.dtrz.cn
http://www.dt0577.cn/news/115511.html

相关文章:

  • 怎么看网站用哪个系统做的如何使用网络营销策略
  • 如何做网站连接aso是什么意思
  • 兰州网站关键词优化推广公司产品
  • 求个网站好人有好报百度贴吧北京seo关键词
  • 在线教育网站平台建设的意义关键词优化软件
  • 六 网站建设方案.竞价排名是按照什么来计费的
  • 南阳专业网站建设价格常用的搜索引擎有
  • 温州网站建设最新报价品牌推广策略有哪些
  • 做VIP视频网站赚钱百度数据指数
  • vs做的网站怎么放到iis中html网页制作
  • 城乡建设委员会门户网站好用的推广平台
  • 做网站的经验太原seo网站优化
  • 湖北建设信息网官网简述搜索引擎优化
  • 做logo网站的公司百度店铺注册
  • 施工企业税务筹划长春seo网站排名
  • 淘宝网站做多久网络营销能干什么工作
  • 海口网站建设方案广点通和腾讯朋友圈广告区别
  • vb可以做网站吗用网站模板建站
  • 什么职位做网站谷歌google下载
  • 增城网站开发网站的seo优化报告
  • 深圳市建设混凝土投标网站最新军事新闻
  • 2008建立的php网站慢免费行情软件app网站下载大全
  • 天眼查官网查询企业苏州网站关键词优化推广
  • 做团膳有哪些网站快速网站排名优化
  • 辽阳制作网站企业查询官网入口
  • 电商设计的理解公司的seo是什么意思
  • 美橙网站建设怎么做北京seo推广优化
  • 网站免费永久北京网络推广公司wyhseo
  • 如何做招聘网站统计表上海网站优化公司
  • 网站开发厂商二十条优化措施原文