In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you what the basic usage of html is, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!
Hypertext markup language (Hyper Text Markup Language), an application under the standard general markup language.
HTML is not a programming language, but a markup language (markup language), which is necessary for web page making.
Common WEB development tool: hbuilder/webstorm/vs code/eclpise
(this article uses hbuilder for learning)
Tag: the content enclosed in the left and right angle brackets is the tag. Single label and double label. Double tags have start and end tags.
The closing tag will be appended with a "/"
Title label
Paragraph label
Picture label
Container label
Link label
Unordered list
Ordered list
Difference:
That is, the difference between marking content with dots and serial numbers, even if it is no longer distinguished here, can be modified in the web page.
Form form label
Action: which server to submit the form data to (the address of the server)
Method:get/post
The difference between get and post: get will put the content submitted by the form directly in the requested URL address, which is efficient and insecure. Post will not display the form data on the url, but will place it on the requested body.
Search / normal requests will use get
POST is needed for more private and secure content such as login / registration, and post is also used when uploading files.
There are many types of input tags
Type= "
Text (text input)
Password (password)
Radio: check box, note that if you select the same item, the name values of multiple input input tags must be the same.
Checkbox: check box. If you select the same item, the name values of multiple input input tags must be the same.
Color: enter colors (less)
Date: time tag (less used)
Select > option
Textarea: long text input tags
Concept:
Cascading style sheet (English full name: Cascading Style Sheets) is a computer language used to represent file styles such as HTML (an application of standard general markup language) or XML (a subset of standard general markup language).
Common usage:
Use on attributes
Use on the label
Common selectors:
Element selector: element name
Class selector:. + class name
ID selector: # + id name
Referencing css files
There will be a priority situation here:
Priority of style attribute within element > id > class > element > default browser style > inherited style
The more complex the selector, the higher the priority.
Note:! Important, increase the priority of styles to the highest
Color: text color
Font-size: the size of the text
Font-family: text fonts, try to use boldface, Microsoft Yahi, Song style, fonts available to ordinary users
Font-weight: font weight, 100-900. the specific weight is determined according to the thickness of the font file itself
Text-align: typesetting of text, left,center,right
Line-height: row height, height between rows
Text-shadow: text shadow
Box-size: setting up the box model
Width: width
Height: height
Padding: inside margin
Margin: outer margin
Border: border
Box-shadow: box shadow
Display: sets whether the box is a block-level element, a row-level element, or an elastic element
Background: sets the background, background image, background color of the element
The above is all the content of the article "what is the basic usage of html". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
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.