Detailed introduction to article title tags in HTML

零下一度
Release: 2017-06-24 14:06:23
Original
2983 people have browsed it

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>我是标题一</h1><h2>我是标题二</h2><h3>我是标题三</h3><h4>我是标题四</h4><h5>我是标题五</h5><h6>我是标题六</h6> </body>
</html>
Copy after login

Effect

2. Article

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>我是标题</h1><p>我是段落</p> </body>
</html>
Copy after login

Effect

3. Let me introduce the text tags in paragraphs, which are used to add various effects

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), 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>
Copy after login
     </head>
     <body>
	<h1>我是标题</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>
Copy after login
Effect

 

Next time I will tell you about the hyperlinks between web pages, which are jumps, and the introduction of images into web pages. Because it involves absolute paths and relative paths, it is not easy to understand for beginners. I will sort it out and explain it clearly to everyone.

Also 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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template