Summary of block-level elements, inline elements, and variable elements

Summary of block-level elements, inline elements, and variable elements
Block element

p - paragraph

pre - format text

table

ol - Sorting Form

ul - unordered list

address

blockquote - Blockquote

center - center-aligns the block

div - commonly used block level

dl - Definition List

fieldset - form control group

form - interactive form

h1 - Large title

h2 - Subtitle

h3 - Level 3 heading

h4 - Level 4 heading

h5 - Level 5 heading

h6 - Level 6 heading

hr - horizontal separator line

isindex - input prompt

noframes - frames optional content

noscript - optional script content

Inline element

li - list item

a - anchor point

abbr - abbreviation

acronym - first letter

b - bold (not recommended)

BDO - Bidi Override

big - large font

br - Line break

cite - citation

code - computer code

dfn - defines a field

em - emphasis

font - font settings

i - italic

img - picture

input

kbd - Define keyboard text

label - table label

q - short quote

s - hyphen

samp - define sample computer code

select - item selection

small - small font text

span - commonly used inline container, defines the text block

strike - a dash

strong - bold emphasis

sub - subscript

sup—superscript

textarea - multi-line text input box

tt - Teletext

u - underscore

var - define a variable

Variable elements

A variable element is a block element or an inline element, depending on the context.

java applet

button

del - delete text

iframe - inline frame

ins - inserted text

map - image block (map)

object - object

script - Client-side script

<<:  Detailed explanation of vue page state persistence

>>:  Detailed explanation of the six common constraint types in MySQL

Recommend

Advantages of MySQL covering indexes

A common suggestion is to create indexes for WHER...

W3C Tutorial (2): W3C Programs

The W3C standardization process is divided into 7...

Share the responsive frameworks commonly used by web design masters (summary)

This article introduces and shares the responsive...

Detailed explanation of the solution for migrating antd+react projects to vite

Antd+react+webpack is often the standard combinat...

Install Windows Server 2019 on VMware Workstation (Graphic Tutorial)

If prompted to enter a key, select [I don’t have ...

Understand the principles of MySQL persistence and rollback in one article

Table of contents redo log Why do we need to upda...

Introduction to installing JDK under Linux, including uninstalling OpenJDK

1. View openjdk rpm -qa|grep jdk 2. Delete openjd...

Markup language - CSS layout

Click here to return to the 123WORDPRESS.COM HTML ...

Tutorial on installing GreasyFork js script on mobile phone

Table of contents Preface 1. Iceraven Browser (Fi...

How to recover data after accidentally deleting ibdata files in mysql5.7.33

Table of contents 1. Scenario description: 2. Cas...

js code that associates the button with the enter key

Copy code The code is as follows: <html> &l...

Common writing examples for MySQL and Oracle batch insert SQL

Table of contents For example: General writing: S...

Implementation of element multiple form validation

In the project, form testing is often encountered...