In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what are the entry knowledge points of html+css". In the daily operation, I believe that many people have doubts about the entry knowledge points of html+css. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "what are the entry knowledge points of html+css?" Next, please follow the editor to study!
What is the list and what are the categories of the list?
HTML lists are used by display lists. Lists can be divided into three types: unordered list, ordered list and definition list.
Unordered list
An unordered list is a list of items marked with bold dots (typical small black circles).
An unordered list starts with a label. Each list item starts with.
The code is as follows:
CoffeeMilk
The page is shown as follows
Coffee
Milk
This is the unordered list, which is in the form of ul containing li. By default, the symbol before each line is a dot, which can be changed to none, square, hollow circle and so on through the style sheet. Paragraphs, line breaks, pictures, links, and other lists can be used inside list items.
Ordered list
Similarly, an ordered list is a list of items, which are marked with numbers.
An ordered list starts with a label. Each list item starts with a label.
The code is as follows:
CoffeeMilk
The page is shown as follows
Coffee
Milk
Definition list
A custom list is not just a list of items, but a combination of projects and their comments.
The custom list starts with a label. Each custom list item starts with. The definition of each custom list item begins with
CoffeeBlack hot drinkMilkWhite cold drink
The page appears as follows:
Coffee
Black hot drink
Milk
White cold drink
Paragraphs, newline characters, pictures, links, and other lists can be used within list items that define a list.
List label
Image label (
) and source properties (Src)
In HTML, images are made up of
Label definition.
1)
Is an empty tag, meaning that it contains only attributes and does not have a closed tag.
The src source property, which is needed to display the image on the page. Src means "source". The value of the source property is the URL address of the image.
The syntax for defining an image is:
URL refers to the location where the image is stored. If the image named "boat.gif" is in the images directory of http://f2e.tming.net.cn, its URL is http://f2e.tming.net.cn/images/boat.gif.
The browser displays the image where the image label appears in the document. If you place the image tag between two paragraphs, the browser will first display the first paragraph, then the picture, and finally the second paragraph.
Replace text attribute (Alt)
The alt property is used to define a string of prepared replaceable text for the image. The value of the replacement text property is user-defined.
When the browser cannot load the image, replace the text attribute to tell the reader what information they have lost. At this point, the browser will display the alternative text instead of the image. It is a good habit to add replacement text attributes to all images on the page, which helps to better display information and is very useful for those who use plain text browsers.
And
Define a client-side image mapping. Image mapping refers to an image with clickable areas.
The tag defines the area in the image map, that is, the image with a clickable area (note: in HTML, there is no closing tag; in XHTML, it must be properly closed;).
Area elements are always nested within tags.
At this point, the study of "what are the basic knowledge points of html+css" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.