What is html and xhtml?

Source: Internet
Author: User
Tags html tags

Because html is learned only now, I still follow the standards, that is, to comply with w3c standards. In this case, I will learn xhtml directly.
        What is XHTML?

* XHTML refers to EXtensible HyperText Markup Language ).
* The target of XHTML is to replace HTML.
* The XHTML and HTML 4.01 are almost the same.
* XHTML is a more rigorous and pure HTML version.
* XHTML is the HTML that is redefined as an XML application.
* XHTML is a W3C standard.
Although the tags in html are the same in case, we recommend that you use them in lower case to conform to xhtml.
HTML documents are text files composed of HTML elements. HTML elements are defined by using HTML tags.
        HTML tag
* HTML tags are used to mark HTML elements.
* HTML tags are surrounded by <and> symbols.
* These enclosed symbols are called angle brackets.
* HTML tags are paired. For example, <B> and </B>.
* The text between the start tag and the end tag is the content of the element.
* HTML tags are case-insensitive. <B> and <B> have the same effect.It is recommended that all data be written in lower case.
      Html structure
<HTML>
<HEAD>
<TITLE> a simple HTML example </TITLE>
</HEAD>
<BODY>
Body content
</BODY>
</HTML>
Since html is a simple static language, we can see its overall structure and read the manual. I am reading it. We plan to end the html by one day.
Add an html Manual. You just need to read the manual and remember to comply with 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.