1-1-4_formatting_html_text

来源:互联网 发布:java 多线程并发实战 编辑:程序博客网 时间:2024/05/22 01:50

FORMATTING HTML TEXT #//格式化HTML文本

ELEMENTS WE WILL LOOK AT

Italic and Bold //斜体粗体
Underline //下划线
Big and Small //字体放大缩小
Highlighted //高亮
Subscript & Superscript //下标和上标
Inserted & Deleted
//插入和删除
c#联机断开的时候,从A3solutionwin然后项目进行联机就好了

ITALIC TEXT ##//斜体格式使用

makes the text italic; does the same thing.
The difference is that emphasises importance//同样是斜体,但是是物理上表示斜体,是基于样式,强调被呈现的内容标签是“含有语义”的标签,搜索引擎会了解这些语义。其在HTML中是特意被设定为表示“强调”的意思。当发现这些表示“强调”的标签时,一些屏幕阅读器可能使用不同的inflection,更利于SEO。

He said I am just going outside and may be some time.


If you don’t have a vaccination you may catch malaria and die.


He said I am just going outside and may be some
time.
If you don’t have a vaccination you may catch
malaria and die.

BOLD TEXT ##//粗体格式使用

makes the text bold; does the same thing.
The difference is that emphasises importance.

She said If you want something said, ask a man;
if you want something done, ask a woman
.


If you can’t repay your mortgage you may lose your home.


She said If you want something said, ask a
man; if you want something done, ask a
woman.
If you can’t repay your mortgage you may lose
your home.

UNDERLINE ##//下划线

Try not to use underline - confusing/multiple meanings//尽量不要使用下划线混淆/多重含义

The viewer may be confused if you use underline.


Her name is Cheng Sin Ying.


The viewer may be confused if you useunderline.
Her name is Cheng Sin Ying

BIG AND SMALL TEXT ##//放大缩小字体

and do exactly what you expect.
However, is not part of the latest HTML standard.//字体的放大缩小能正确的根据你的想法去表达,但是放大不是最新的HTML标准

It’s dangerous to use big because it isn’t part of HTML 5!


I’m embarrassed to say it loudly so here it is: I love you!


It’s dangerous to use big because it isn’t part of
HTML 5!
I’m embarrassed to say it loudly so here it is: I
love you!

HIGHLIGHTING TEXT ##//文本高亮

highlights the text

Send us your bank details and you may become a millionaire!


Send us your bank details and you may become a millionaire!


If x1=2 and x2=4 then
x12 + x23 equals 68



Some video streaming may use XML1



1 G. Lam & D. Rossiter, ‘A Web Service Framework
Supporting Multimedia Streaming’, IEEE Transactions on Services Computing, 2013

If x1=2 and x2=4 then x12 + x23 equals 68
Some video streaming may use XML1
1
G. Lam & D. Rossiter, ‘A Web Service
Framework Supporting Multimedia Streaming’,
IEEE Transactions on Services Computing,
2013

INSERTED AND DELETED TEXT ##//插入删除

and are used for showing edits

Let's do this edit: Prof. Rossiter is truly the most intelligent.


Also this: Prof. Rossiter has an astonishingly old car.


Let’s do this edit: Prof. Rossiter is truly the most
intelligent.
Also this: Prof. Rossiter has an astonishingly old
car.
0 0
原创粉丝点击