HTML behavior elements and block-level elements and semantics

Source: Internet
Author: User

Block-level elements

Div-dl-form Interactive Forms
H1-h6 Title
HR Horizontal Split Line
P Paragraph
UL non-sorted list
Table tables

In-line elements

A link
BR Line break
EM stress
I italic body
IMG Pictures
Input box
Label Table label
Select Project Selection
span text within chunks
Label label
Strong bold Emphasis
TextArea Multiple lines

Line break is a block-level element that is not wrapped in an inline element
<!DOCTYPE HTML><!--current document is HTML5 -<HTML><Head>    <!--Set document encoding -    <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />    <MetaCharSet= "Utf-8" />    <!--set keywords and descriptions for easy SEO -    <Metaname= "keywords"content= "keyword">    <Metaname= "description"content= "Site description">    <!--Set the mobile development zoom ratio -    <Metaname= "Viewport"content= "Width=device-width, initial-scale=1.0,maximum-scale=1.0,user-scalable=0;"></Head><Body>    <Div>Div</Div>    <Div>        <P>P</P>    </Div>    <DL>        <DT>Dt</DT>        <DD>Dd</DD>    </DL>    <H1>Title H1</H1>    <H2>Title H2</H2>    <H3>Title H3</H3>    <h4>Title H4</h4>    <h5>Title H5</h5>    <HR/>    <!--unordered list -    <ul>        <Li>Li 1</Li>        <Li>Li 2</Li>        <Li>Li 3</Li>        <Li>Li 4</Li>    </ul>    <!--list with sequence -    <ol>        <Li>Li 1</Li>        <Li>Li 2</Li>        <Li>Li 3</Li>        <Li>Li 4</Li>    </ol>    <b>B is bold</b>    <u>U is the glide line</u>    <I>I is an italic body</I>    <s>S is delete</s>    <Strong>Strongs is very strong.</Strong>    <imgsrc=""alt= "text displayed when a picture fails"title= "Tip of mouse on picture"width= "+"Height= "+">    <ahref= "https://www.baidu.com/"Target= "_blank">The new page opens</a>    <ahref= "https://www.baidu.com/"Target= "_self">Open in itself</a>    <TableBorder= "1">        <thead>            <TR>                <th>Head One</th>                <th>Head Two</th>            </TR>        </thead>        <tbody>            <TR>                <TDcolspan= "2"> A</TD>            </TR>            <TR>                <TDrowspan= "2"> *</TD>                <TD>4</TD>            </TR>            <TR>                             <TD>6</TD>            </TR>        </tbody>    </Table>    <iframesrc= "https://www.baidu.com/"width= "$"Height= "$"></iframe></Body></HTML>

HTML behavior elements and block-level elements and semantics

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.