HTML---First knowledge of HTML

Source: Internet
Author: User

Abbreviation for HTML (Hyper textmark-up Language Hypertext Markup Language), tag: a specific symbol used to describe the content of a Web page. HTML is not a programming language, but a descriptive markup language that describes how content is displayed in a Web page, such as the color, size, and size of the control, which can be implemented with HTML tags.

How HTML documents are created:

    • Writing the realm of the hand
    • Graphical HTML development software (e.g., Dreamweaver)
    • Generated by a Dynamic Web page program on the Web server.

HTML elements and tags

The structure and format of a Web page document is defined by an HTML element, which is a contained range defined by a single or a pair of tags. The basic syntax is < tags > content </tags >

there are four forms of HTML elements:

    • Empty element
      <br>
    • Elements with attributes
      <HR color= "Red" >
    • Elements with content
    • Elements with content and attributes
      <fontcolor= "Red" >html test </font>

The elements of HTML are as follows:

Elements

Function

A

Indicate the start or destination of the hyperlink

Acronym

Identify abbreviations

Address

Specific information, such as address, signature, author, originator of this document

Applet

Place executable content on the page

Area

Defines the shape, coordinates, and associated URL of a hyperlink region in a client-side image map

B

Specifies that text should be rendered in bold

Base

Specifies that a display URL is used to resolve links and references to external sources, like and style sheets

Basefont

Set the underlying font value as the default font when rendering text

(Click to get more elements ...) )

Common tags for HTML

    • Font effects

Label

Function

Title Word (max)

Title Word (min)

<b>...</b>

Bold characters

<strong>...</strong>

Bold words (emphasis)

<i>...</i>

Italic Word

<em>...</em>

Italic Word (accent)

<dfn>...</dfn>

Italic word (for definition)

<u>...</u>

Bottom line

(Click for more common tags ...) )

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.