In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of "case analysis of the difference between the use of css and html". The editor shows you the operation process through the actual case, and the operation method is simple, fast and practical. I hope that this article "case analysis of the difference between the use of css and html" can help you solve the problem.
The difference between css and html:
1. First, let's take a look at html:
Html is the abbreviation of HyperTextMark-upLanguage, that is, Hypertext markup language.
Html is used to define the content structure of a document, including the content that users need to browse, including pictures and text, video, that is, the basic elements that make up a web page.
Html is the Structure of a web page, which requires a variety of frames and layouts, such as frameset frameset, iframe inline frame, div+css layout, table layout, etc., and supports form submission (HTMLForm), including basic forms, input input boxes, input box types, text fields, lists, label, and so on.
The structure of html consists of two parts: Head and Body, in which the header describes the information needed by the browser, while the body contains the specific content to be explained.
Let's take a look at a small example of html:
Php Chinese website (php.cn)
My first title
My first paragraph.
The effect is as follows:
2345 Screenshot 20180828144240.png
This example can clearly illustrate the structure of html. (related recommendations: HTML Chinese reference manual and 2018 frontend getting started _ HTML5)
After looking at the basic contents of html, let's take a look at the basic contents of css. After all, it is the difference between css and html ^ _ ^.
two。 Let's take another look at css:
Css is the abbreviation of CascadingStyleSheets, that is, cascading style sheet. It is a web page layout standard developed and issued by W3C Association, which is a supplement to the function of HTML language.
Css is used to define the style of html documents, that is, the appearance, such as dynamic text on web pages, text colors, fonts, animation effects, can be realized by css.
The main purpose of css is to control the font, color, background, image and other elements in the web page, so that the web page can be displayed in full accordance with the requirements of the designer.
As shown in the following example:
Php Chinese website (php.com)
Body
{
Background-color:#d0e4fe
}
H2
{
Color:orange
Text-align:center
}
P
{
Font-family: "TimesNewRoman"
Font-size:20px
}
CSS example
This is a paragraph.
This is the end of the content of "example Analysis of the difference between the use of css and html". Thank you for reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.
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.