HTML+CSS Basic HTML tags for easy entry (1)
html
There are many kinds of HTML tags. You can refer to the manual. Next, we will explain some of our commonly used tags.
First we will talk about the P tag paragraph (p)
大家好
Then we will browse Run on the server, the output is: Hello everyone
Look at the following code:
大家好
大家好!
The paragraph will wrap itself, so the output is:
Hello everyone
Hello everyone
----- is an auxiliary tag within the head tag, usually used to set encoding and optimize keywords for promotion
-------Line break
---------Format text
------Inline label Tips and Notes: Tip: Use to group inline elements so that they can be formatted with styles. Note: span has no fixed format. It only changes visually when you apply a style to it. Next, let’s first explain these simple tags The following code: 大家好123456 大家好 Everyone copy the code to your computer, create a file with the suffix .html and then Double-click to preview Table Please look at the following code: The table is composed of rows and columns. To be precise, it cannot be called columns, but can only be called cells. The The above code execution results: United States Japan China 123 456 789 123 456 789 We are not used to seeing such a table, so let me add a border to the table in the above code. We add border='1' to the table tag and then we add a width and height to the table width="300" height="200" The specific code is as follows: Students who have watched this course are also learning------Table
to
-----Control font size
-------Title and title separated by horizontal lines Paragraph
1111111111111111
我们都一样
中国
中国
中国
中国
中国
中国
美国 日本 中国 123 456 789 123 456 789 tag in the above code represents the row and represents the cell. But we are previewing It is displayed in the form of a table, so it is called 3 rows and 3 columns.
Defines the header cell, which is generally used for titles. For example, we make a weekly schedule from Monday to Sunday. These words need to be bolded etc.
美国 日本 中国 123 456 789 123 456 789
IntermediateFront-end Vue3 actual combat [handwritten vue project]
ElementaryAPIPOST tutorial [Popularization of technical concepts related to network communication]
IntermediateIssue 22_Comprehensive actual combat
ElementaryIssue 22_PHP Programming
ElementaryIssue 22_Front-end development
IntermediateBig data (MySQL) video tutorial full version
ElementaryGo language tutorial-full of practical information and no nonsense
ElementaryGO Language Core Programming Course
IntermediateJS advanced and BootStrap learning
IntermediateSQL optimization and troubleshooting (MySQL version)
IntermediateRedis+MySQL database interview tutorial
ElementaryDeliver food or learn programming?

