2015/4/9 HTML Basic Learning

Source: Internet
Author: User

HTML is a language used to describe a Web page. Hypertext Markup Language

1.html Document related

HTML title tags are smaller from h1 to H6

<a></a>

HTML links are defined by the <a> tag.

<a href= "http://..." ></a>

<p></p>

The paragraph of the HTML is defined by the <P> tag.

<p> This is a paragraph </p>

<p> This is also a paragraph </p>

</img>/<ing/>

HTML images are defined by tags.

To set word wrapping

<br>

Add a different horizontal effect

formatting text

<b></b> blackbody

<i></i> Italic

<u></u> Underline

<pre></pre> preserves the formatting of the text in the source code.

<center></center> Set Center Effect

2. Set the color

Set the text color of a page

<body text= "Color" ></body>

Set the background color of a page

<body bgcolor= "Color" ></body>

Set the background image for a page

<body background= "URL (Image path)" ></body>

Set the color of a linked font

<body link= "Color" vlink= "color" alink= "Color" ></body>

Link: The text color of the linked part that has not yet been seen

Vlink: The text color of the link part already seen

ALink: Mouse Click the text color of the link section

2015/4/9 HTML Basic Learning

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.