In the HTML base

Source: Internet
Author: User

HTML Text formatting instances

(I don't know why the words "normal display text" Do not have to be labeled, although it is within the <body> tag)

<HTML><Body><b>Text is in bold<BR/></b><Strong>Text highlighting, stronger than EM, should be used with caution<BR/></Strong><Big>Text Display large font<BR/></Big><em>To emphasize, use with caution<BR/></em><I>Text is identified in italics<BR/></I><Small>Text Display small font<BR/></Small>Normal display text<Sub>Script tag</Sub><BR/>Normal display text<sup>Top foot Mark</sup></Body></HTML>

Operation Effect: (Note: First row to: Text blackbody)

Examples of pre-text formats:

<HTML><Body><Pre>the pre-formatted text is a blank space and a newline</Pre><P>The pre tag is ideal for forcing:</P><Pre>I close my eyes in the day and night I can't see because I can't sleep ... </Pre></HTML></Body>

Operating effect:

"Computer Output" tab

<HTML><Body><Code>Display code in a format</Code><BR/><KBD>Keyboard input Text display</KBD><BR/><TT>Telex Text display</TT><BR/><Samp>Sample text display</Samp><BR/><var>Computer variable Display</var><BR/><HR/><b>Comments:</b>The text for different attributes is identified with a different label so that the computer can distinguish between their categories</Body></HTML>

Operating effect:

Address:

<!DOCTYPE HTML><HTML><Body><Address>written by<ahref= "http://www.baidu.com.cn">G-spider</a><BR/>Access Address:<BR/>http://www.G-Spider.com.cn<BR/>No. No. 555, Bobbin Hutong, Beijing<BR/>China<BR/></Address></Body></HTML>

Operating effect:

Abbreviations and acronyms

<HTML><Body><abbrtitle= "Etcetera">etc.</abbr><BR/><acronymtitle= "World Wide Web">Www</acronym><P>In some browsers, the title can be used to show the full version of the expression when you move the mouse over the thumbnail word.</P><P>Valid only for acronym elements in IE 5.</P><P>Valid for both the ABBR and acronym elements in Netscape 6.2.</P></Body></HTML>

Operating effect:

Text direction

<HTML><Body><P>If your browser supports bi-directional override (BDO), the next line will output from right to left (RTL);</P><BDOdir= "RTL">Here is some Hebrew text</BDO></Body></HTML>

Run effect

Block references:

<HTML><Body>This is a long reference:<blockquote>"I like you the most, green son." "<BR/>"To what extent?" "<BR/>"Like a bear in spring." "<BR/>"The Bear of spring?" "The green son raised his head again," What spring bears? "<BR/>"In the wilderness of spring, you are walking alone, and a lovely little bear is walking across the road, and the hair is like velvet, with swollen eyes." It says to you: ' Hello, Miss, Roll with me, okay? ' Then you'll be hugging the cubs, rolling down the grassy hillside and playing for a whole day. You say it's not good? "<BR/>"Great!" "<BR/>"I like you so much." "<BR/></blockquote>This is a short quote:<Q>everything upside down will be reversed.</Q><P>with the BLOCKQUOTE element, the browser inserts line breaks and margins, and the Q element does not have any special rendering. </P></Body></HTML>

Operating effect:

To delete a word effect and insert a word effect:

<HTML><Body><P>The last word of the first day:<del>Mom's back hurts.</del>It's going to be the same tomorrow.</P><BR/><ins>The right way to learn</ins></Body></HTML>

Operating effect:

Well, the first day hang to the end, today did not concentrate on learning, the evening this one hours of learning than before a few hours of more. Tomorrow we really have to get up early and start practicing!

Tomorrow Xiao Daniel 23 Birthday, wish more and more lovely. But it's already 23 (sinister)

In the HTML base

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.