Review summary of HTML and CSS

Source: Internet
Author: User

HTML(Hypertext Markup Language) Hypertext Markup Language, its core is a variety of tags!
<HTMLAll content in the > HTML page is within that tag; it mainly includes <Head> head; It usually contains a header <titleBasic Information <Meta> (contents type content, Character set CharSet) and so on.
<Body> subject; It usually contains the title Font, paragraph <p>, predetermined format <pre>, Comment <!--> and so on.
<HN>head number;;<BR>=Break;<HR>=horizontal line;<P>=Paragraph;<Pre>=Predetermine;
<Li> (list);<ol> Sequential list (Ordered list);<ul> Unordered list (Unordered list);
<DL> Custom lists (definition list),<DT> Custom Entry (term);<DD> Custom Description (Description);
<img> Image or Video;<Bgsound> Background (backgroud) sound;
<a href> Anchor Hyperlink Address (Anchor Hyperlink Reference);
<Table> Form,<th> table title (Head),<TR> Form row (Row),<TD> Form content (Description);
<form> Form,<input> Single line input area,<textarea> Multi-line Input area,<Select> Options Menu,<option> Options;
<Frameset> Frame Set,<Frame> Frame,<noframe> Display content when frames are not supported.

CSS(cascading style Sheets) cascading style sheets, the core of which is the definition and use of various styles!
How CSS is defined:
1, through the definition of HTML tags, such as: H1{color:blue; Text-align:center};
2, the use of the definition of ID, such as: #sample {font-size:60pt; font-family: Arial},<p id=sample> Text </p>;
3, using class definition, such as:. Text{color:red},<p class= "text" > Text </p>;
How CSS is used in HTML:
1, embedded, such as: <p style= "color:red; FONT-SIZE:10PT "> Embedded style sheet </p>;
2, inline, such as: Add <style> tag in 3, external, such as: There is a separate *.css file, introduced in the CSS precedence: embedded > Inline > inline.
CSS properties: Font, color, background, text, rating, mouse, etc.

Review summary of HTML and CSS

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.