Javaweb Learning Summary (ii) HTML common tags

Source: Internet
Author: User
Tags html form

When learning HTML, it is a tag to write the code to do the experiment, to summarize their usage. Familiarize yourself with each one first and then combine the tags into a few simple pages.

I. Several base tags

<! Doctype> Defining Document Types

<title> defines a title for the document, with the title of each HTML page displayed in the browser's tab.

<body> defining the body of a document

<p> define a paragraph

<br> Define simple line breaks

<!--...--> Define a Comment

Two. Format Control tab

<address> Define document author contact address

<b> define Bold text

<bdo> define text orientation such as <bdo dir= "RTL" > abc</bdo> display as "CBA"

<blockquote> defining block references

<center> Define Center text

<code> Defining computer code text

<del> Define deleted text

<em> Define Accent Text

<font> define font, size, color of text

<i> Defining italic text

<ins> define text to be inserted

<p> defining pre-formatted text

<s> defining text to add strikethrough

<small> Define Small text

<sub> Define Subscript Text

<sup> Defining superscript text

<time> Define a date time

<u> Define underline text

Three. Form Class

<form> defines an HTML form for getting user input

<input> Defining an input control

<textarea> define multi-line text input controls

<button> Define Button

<select> Define a selection list

<optgroup> define a combination of related options in the selection list

<option> define options in the selection list

<label> Defining input Label annotations

Javaweb Learning Summary (ii) HTML common tags

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.