HTML Learning Notes (i) HTML basic concepts

Source: Internet
Author: User

HTML files can be interpreted directly by the browser without compiling.

HTML file structure:

1 <HTML>2 <Head>3 <title>File title</title>4 </Head>5 <Body>6 file Body7 </Body>8 </HTML>

Text written in the middle of the

Note: (1) < and > are the beginning and end of any label, (2) can be nested between labels and tags, (3) are not case-sensitive in source code, (4) any carriage return and spaces do not work in the source code; (5) HTML tags can be placed in various properties ; (6) Add comments <!--and--! >

First HTML file

1 <!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">2 <HTMLxmlns= "http://www.w3.org/1999/xhtml">3 <Head>4 <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />5 <title>A simple HTML file</title>6 </Head>  7 <Bodytext= "Blue">8     <H2Align= "Center">HTML First clue</H2>9     <HR/>Ten     <P>Let's experience the awesome HTML journey together.</P> One </Body> A </HTML>

HTML Learning Notes (i) HTML basic concepts

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.