Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the common html words and their functions?

Shulou Source: shulou.com Published: 2022-06-01 04:47:34 10月03日 Update

This article mainly explains "what are the common html words and their functions". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the common html words and their functions".

A, B (strong): bold

B, P: example of line wrapping:

I'm the first paragraph.

I am the second paragraph.

C, Br: example: I am the first row and I am the second row

D, px: pixel, unit of length and width

Example: width:30px; width 30 pixels

Examples of e, ul, ol, li list tags:

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

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.

G, img: picture reference tag

Picture label

Alternative table combination of h and dl dt dd:CSS

Example:

I am the title.

List 1

List 2

J, title: title label

Example: title

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

Thank you for your reading, the above is the content of "what are the common html words and their functions". After the study of this article, I believe you have a deeper understanding of the common html words and their functions, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Examples content tags functions words common title learning location pixels picture width length line unit alternative that is ideas situations articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information NVidia macOS Huawei Shulou Tech Info