Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Must know what the foundation of HTML is.

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what are the basics of HTML, 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 go to know it!

First, must know the basics of HTML-CSS tutorial series

Before learning the knowledge of CSS production, we must know what basic knowledge of HTML.

1. Find out the role of the browser-TOP

The main function of the browser is to browse the web page, but it is still the role of browsing our production, development and reconstruction web pages when making and developing DIV+CSS. Browsers can test the compatibility, effectiveness and errors caused by negligent development of the CSS pages we developed.

Common browsers in CSS testing (CSS tools) include IE6, IE7, IE8, FF, chrome, Apple Safari, and Opera mainstream browsers. As for Aoyou and 360 browsers, because they use the IE kernel that comes with your system, you don't have to think about it, as long as you support your browser version, you will support similar browsers.

2. Find out what HTML-TOP is

Html is the abbreviation of hypertext markup language, that is, Hypertext markup language. It can be understood that a HTML file is a text file with a regular suffix such as html\ htm.

Different from our notepad, the source code in the html file has a certain English code with regular syntax.

3. Html action-TOP

HTML function, through a certain html own grammatical structure (html structure), display text, pictures, animation (flash), video or audio music. And CSS is to cooperate with html to achieve a beautiful variety of page content.

4. Html what are the basics we are involved in-TOP

Html extension, html source code, DOCTYPE, html structure, head tag, charset

5. What are the common html words and their functions-TOP

A, B (strong): bold

Example: I am bold or I am also bold. The two bold attributes are the same and the usage is the same.

CSS bold: http://www..com/rumen/r122.shtml

B, P: line break

Example:

I'm the first paragraph.

I am the second paragraph.

C, Br: delivery line

Example: I am the first row and I am the second row.

The difference between P and br: http://www..com/html/h78.shtml

D, px: pixel, unit of length and width

Example: width:30px; width 30 pixels

Learn about pixel units: http://www..com/html/h89.shtml

E, ul, ol, li list tags

Example:

List 1 list 2 list 3 list 1 list 2 list 3

Both are list groups, the difference is that ul is an unordered list\ OL is an ordered list

More detailed introduction to css li: http://www..com/shili/s31.shtml

F, div and span: all html tags

Example: how long do I occupy the line? how long do I occupy?

The difference between the two: DIV occupies a whole row, while SPAN occupies how much content and how long it takes.

DIV span difference: https://cache.yisu.com/upload/information/20220117/488/67043.jpg" / > Picture label

Alternative table combination of h and dl dt dd:CSS

Example:

I am the title.

List 1

List 2

Dl dt dd details: http://www..com/html/h88.shtml

J, title: title label

Example: title

Features, can only be used once in a web page (can only appear once)

Title tag: http://www..com/html/h224.shtml

The above are common html tags and words, more HTML tags: http://www..com/html/h210.shtml

6. Html structure-TOP

Here the Html structure can be used for each newly created web page template.

Old html structure:

DIVCSS5 title

Specific web page presentation content

The DIVCSS5 optimized HTML structure of CSS tutorials (can be used for each new HTML template):

Title

Content provided by www..com

7. The relationship between html and CSS-TOP

It is important to understand the relationship between html and CSS, and it is also the basis for understanding CSS.

Html and CSS relationship explanation: HTML is placed to display the specific content of the web page (pictures, text, animation, etc.), while CSS controls how the specific content in the HTML is displayed, how to typeset, color, size, width, height, left and right layout and other display styles.

The above is all the contents of the article "must know what are the basics 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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report