Getting Started with HTML and CSS-Chapter III understanding the relationship between HTML and XHTML

Source: Internet
Author: User

Knowledge Points:

1. How to create a simple Web page in HTML

2. Methods that contain all the HTML tags that each page must have

3. How to organize pages with paragraphs and line breaks

4. Ways to organize content with headings

The difference between 5.HTML, XML, XHTML, and HTML5

3.1 start with a simple Web page :

The author suggests: Start with a simple text editor and then turn to the visualizer.

Extension support:. htm and. html

File types such as. jsp,.asp,.php use server-side technology that is beyond the HTML range and require dedicated service-side support. such as Apache server

3.2 HTML tags required for each XHMTL page :

In short: a declaration is required at the beginning to let the browser know which type of file to parse you.

PS: Previously mentioned in XHTML X is extensible, can be understood as a transitional language of HTML, more than HTML and specifications, of course, now H5 out, you can no longer consider it.

3.3 organize pages by using segments and line breaks :

<P></P>: Paragraph

<BR/>: line break

<HR/>: Horizontal Line

3.4 Organizing Content with headings :

H1~h6: Example

The title setting is related to search engine optimization (SEO) tips. That is, the search engine determines the priority of the content according to the title.

  Core: As tightly controlled for the content hierarchy, not for their particular appearance.

3.5 Verify your Web content :

Check the Web page for errors by Firebug or the browser's own console.

3.6 Latest News about HTML, XML, XHMTL, and HTML5 :

XML is a common language for creating specific languages, such as HTML, which provides the basic structure and rules that any markup language must adhere to.

You can use it to create a unique markup language that describes any type of information (including Web pages):

You can create your own HTML version;

You can even create an indication language called BCCML (Cap Collection Markup Language).

It is characterized by the ability to better describe the data.

  Adhere to the html->xhtml of XML specification and structure.

  

  

Getting Started with HTML and CSS-Chapter III understanding the relationship between HTML and XHTML

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.