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