Yesterday I talked about my first web page, and today I will continue to take you in-depth. Don’t use coding tools for early learning! That way there will be less opportunities for in-depth understanding!
1. Everyone knows that articles will have various titles, and web pages are similar to articles and have elements specifically for writing titles.
## (1), Title one is also the largest title. It is best to have only one on a page to highlight the importance;
(2)、 Title 2
(3)、< ;h3> Title Three
(4)、 Title Four (5)、 Title Five (6), Title Six is also the smallest, and also The last one does not have 7, 8, 9......Code block
<html> <head> <title>标题</title> </head> <body> <h1 id="我是标题一">我是标题一</h1><h2 id="我是标题二">我是标题二</h2><h3 id="我是标题三">我是标题三</h3><h4 id="我是标题四">我是标题四</h4><h5 id="我是标题五">我是标题五</h5><h6 id="我是标题六">我是标题六</h6> </body> </html>
Effect
TitleIs it time to finish the paragraph? In fact, I saw the paragraph tag yesterday, if you saw it.
(1), This is the paragraph tag, also known as the p tag.Code
<html> <head> <title>标题和段落</title> </head> <body> <h1 id="我是标题">我是标题</h1><p>我是段落</p> </body> </html>
Effect
to the text. (1), Both of these are text italics
(2),< ;/b> Both of these are bold and highlighted text
(3), Text reduction
(4), Text amplification
(5), strike> These three strikethrough lines (generally appear in the price area, when comparing the original price and the current price, there will be a line in the middle of the original price, which is how to realize that line)
(6), < ;/u> Text underline,
[Note]:
Just wrap the text you want to change and it’s OK! , these are just some commonly used ones and there are many more. They are all used in the same way. Just check them out when the time comes.Code
<html>
<head>
<title>文字标签</title>
</head>
<body>
<h1 id="我是标题">我是标题</h1>
<p>我是<em>斜体1</em> 我是<i>斜体2</i></p>
<p>我是<b>加粗1</b> 我是<strong>加粗2</strong></p>
<p>我是<small>缩小文字</small></p>
<p>我是<big>放大文字</big></p>
<p>我是<s>删除线1</s> 我是<del>删除线2</del> 我是<strike>删除线3</strike></p>
<p>我是<u>文字下划线</u></p>
</body>
</html>
EffectAlso welcome your comments because I just started blogging, so there must be a lot of bad things. I hope you can give me more opinions.
The above is the detailed content of Detailed introduction to article title tags in HTML. For more information, please follow other related articles on the PHP Chinese website!

The role of HTML is to define the structure and content of a web page through tags and attributes. 1. HTML organizes content through tags such as , making it easy to read and understand. 2. Use semantic tags such as, etc. to enhance accessibility and SEO. 3. Optimizing HTML code can improve web page loading speed and user experience.

HTMLisaspecifictypeofcodefocusedonstructuringwebcontent,while"code"broadlyincludeslanguageslikeJavaScriptandPythonforfunctionality.1)HTMLdefineswebpagestructureusingtags.2)"Code"encompassesawiderrangeoflanguagesforlogicandinteract

HTML, CSS and JavaScript are the three pillars of web development. 1. HTML defines the web page structure and uses tags such as, etc. 2. CSS controls the web page style, using selectors and attributes such as color, font-size, etc. 3. JavaScript realizes dynamic effects and interaction, through event monitoring and DOM operations.

HTML defines the web structure, CSS is responsible for style and layout, and JavaScript gives dynamic interaction. The three perform their duties in web development and jointly build a colorful website.

HTML is suitable for beginners because it is simple and easy to learn and can quickly see results. 1) The learning curve of HTML is smooth and easy to get started. 2) Just master the basic tags to start creating web pages. 3) High flexibility and can be used in combination with CSS and JavaScript. 4) Rich learning resources and modern tools support the learning process.

AnexampleofastartingtaginHTMLis,whichbeginsaparagraph.StartingtagsareessentialinHTMLastheyinitiateelements,definetheirtypes,andarecrucialforstructuringwebpagesandconstructingtheDOM.

How to design the dotted line segmentation effect in the menu? When designing menus, it is usually not difficult to align left and right between the dish name and price, but how about the dotted line or point in the middle...

HTML Element Analysis in Web Code Editor Many online code editors allow users to enter HTML, CSS, and JavaScript code. Recently, someone proposed...


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 English version
Recommended: Win version, supports code prompts!

Dreamweaver CS6
Visual web development tools