Home  >  Article  >  Web Front-end  >  Summary of block-level elements, inline elements and variable elements_HTML/Xhtml_Web page production

Summary of block-level elements, inline elements and variable elements_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:37:081389browse
block element

p - paragraph

pre - formatted text

table - table

ol - sort form

ul - unsorted list

address - address

blockquote - block quote

center - center align block

div - Common block level

dl - definition list

fieldset - form control group

form - interactive form

h1 - headline

h2 - subtitle

h3 - level 3 title

h4 - level 4 title

h5 - level 5 title

h6 - level 6 title

hr - horizontal separator line

isindex - input prompt

noframes - frames optional content

noscript - optional script content

Inline element

li - list item

a - anchor

abbr - abbreviation

acronym - first word

b - bold (not recommended)

bdo - bidi override

big - big font

br - line break

cite - Reference

code - Computer code

dfn - Define field

em - Emphasis

font - Font setting

i - italic

img - image

input - input box

kbd - define keyboard text

label - table label

q - short Quote

s - underscore

samp - definition example computer code

select - item selection

small - small font text

span - commonly used inline container, defining blocks within text

strike - underline

strong - bold emphasis

sub - subscript

sup - superscript

textarea - multi-line text input box

tt - telex text

u - underline

var - define variables

Variable elements

A variable element is a block element or an inline element determined by the context.

applet - java applet

button - button

del - delete text

iframe - inline frame

ins - inserted text

map - image block (map)

object - object object

script - client script
Statement:
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