In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge points of this article "case Analysis of the difference between css and html", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "case analysis of the difference between css and html" article.
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 (HTML Form), 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.
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 Cascading Style Sheets, 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: "Times New Roman"
Font-size:20px
}
CSS example
This is a paragraph.
The effect is as follows:
The above effect can clearly explain the use of css.
The above is about the content of this article on "case Analysis of the difference between css and html". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please pay attention to 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.