HTML Getting Started learning

Source: Internet
Author: User

What is HTML?

HTML is a language used to describe a Web page, which is written in HTML as a hypertext document.

HTML refers to Hypertext Markup Language (Hyper Text Markup Language)

HTML is not a programming language, but a markup language (Markup language)

Markup language is a set of tag tags (markup tag)

HTML uses tag tags to describe web pages

the title (Heading) is defined by tags such as

<p> tag is used to wrap;<br> is a single label is also used to wrap, with BR line is no spacing,<p> label has a space.

Image label () and source attribute (SRC):

in HTML, the image is defined by the tag, is an empty label, meaning that it contains only attributes and does not have a closed label. to display an image on a page, you need to use the source attribute (SRC). SRC refers to "source". The value of the Source property is the URL address of the image. alt function: Occupy position, facilitate SEO,

Site images. jpg. jpeg. png. gif; . jpg Province Traffic

. Represents the folder where I am currently

.. Represents the last directory of the current folder

<a> tags are used to create links to another document;

<a> used to create anchors. The href attribute is used to locate the document that needs to be linked, and the text between the opening and closing tags of the anchor is displayed as a hyperlink.

Set target in the <a> tab to keep the original page.

The anchor ID can be used to jump to the specified position.

UL is a list of unordered, OL represents an ordered list;

List-style:none; Remove the default style from the list

Text-align= Center text centered around

Line-height text vertically centered




This article from "12145719" blog, declined reprint!

HTML Getting Started 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.