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.