Joke Collection Website - News headlines - Internet terminology explanation II (high score)

Internet terminology explanation II (high score)

HTML is the universal language of the Internet, a simple, universal, all-purpose markup language. It allows web page producers to create complex pages that combine text and images, and these pages can be viewed by anyone else on the Internet, regardless of the type of computer or browser used. Is it magical? It’s not magical at all, because what you see now is a page written in this language. Haha.

Maybe you have heard of many software that can edit web pages. In fact, you don’t need to use Any specialized software to create HTML pages; all you need is a word processor (such as Microsoft Word\Notepad\WordPad, etc.) and a working knowledge of HTML. In fact, you will soon find that the basic HTML language is extremely easy to learn.

HTML is nothing more than a series of tags combined into a text file. They are like the conductor of the band, telling the musicians where to pause and where to get excited.

HTML tags are usually the full name of an English word (such as block quote: blockquote) or an abbreviation (such as "p" for Paragragh ), but they are different from ordinary texts because they are placed in a single book title. Therefore, the Paragragh tag is lt;pgt;, and the block quote tag is lt;blockquotegt;. Some tags describe how the page should be formatted (e.g., lt;pgt; start a new paragraph), others describe how the words should appear (lt;bgt; make text bold), and still others provide information that does not appear on the page. Information - such as a title.

The thing to remember about tags is that they come in pairs. Whenever a tag is used - such as lt;blockquotegt;, it must be closed with another tag lt;/blockquotegt;. Note the slash before "blockquote", that is the difference between closing the tag and opening the tag.

A basic HTML page starts with the lt;htmlgt; tag and ends with lt;/htmlgt;. Between them, the entire page has two parts - the title and the text.

The title word - sandwiched between the lt;headgt; and lt;/headgt; tags - this word appears in a minimized window at the bottom of the screen when the page is opened. The main text is sandwiched between lt;bodygt; and lt;/bodygt;—that is, where the content of all pages is. Everything displayed on the page is contained within these two tags.

So let's build a simple example, very easy. The first step, of course, is to create a new text file (remember, if you are using a more complex word processor, you should save it as "plain text" or "normal text") and name it "xxxx" .html". (You can name it whatever you want, but remember, use English)

Then you can open it with a browser, and you will see the simplest page you made.

HTML language is a tool for us to build web pages. From its emergence to the present, the specifications have been continuously improved and its functions have become more and more powerful. However, there are still flaws and shortcomings, and people are still constantly improving it to make it more controllable and flexible to adapt to the ever-changing application requirements on the network. At the end of 2000, the international W3C (World Wide Web Consortium) organization announced the release of version 1.0 of XHTML. What is the difference between XHTML, HTML, and XML? What new features does it add? Today, let us take a preliminary look at XHTML.

XHTML 1.0 is a new language optimized and improved on the basis of HTML 4.0, aiming at XML-based applications. XHTML is an enhanced HTML, and its scalability and flexibility will adapt to more needs of future network applications. Below are common basic questions about XHTML answered by Steven Pemberton, chairman of the W3C's HTML Working Group.

CSS is Cascading Style Sheets, which is translated as "cascading style sheet" in Chinese, or style sheet for short. It is a new technology for making web pages.

Web design initially used HTML tags to define page documents and formats, such as titles , paragraphs , tables , links

Note: CSS requires IE4 (Internet Explorer 4.0) and NC4 (Netscape 4.0) or above browser support, and some effects require higher version browser support.

XML is the abbreviation of Extensible Markup Language, an extensible markup language. HTML is a markup language, full name: "Hypertext Markup Language". At the same time, there are many tags in HTML, such as, etc., which are standardized and defined in HTML 4.0, and XML allows you to create such tags yourself, so it is called extensibility.

1.XML is not a markup language. It is just a metalanguage used to create markup languages ??(such as HTML). God, I'm confused again! It doesn't matter, you just need to know this: XML and HTML are different, and its uses are much wider than HTML, which we will introduce in detail later.

2.XML is not a replacement for HTML. XML is not an upgrade of HTML, it is just a supplement to HTML, extending more functions to HTML. We will continue to use HTML for a long time to come. (But it is worth noting that XHTML, the upgraded version of HTML, is indeed moving closer to adapting to XML.)

3. XML cannot be used to directly write web pages. Even if it contains XML data, it still needs to be converted into HTML format before it can be displayed on the browser.

At the end of 2000, the international W3C (World Wide Web Consortium) organization announced the release of XHTML 1.0 version. XHTML 1.0 is a new language optimized and improved on the basis of HTML 4.0, aiming at XML-based applications. XHTML is an enhanced HTML, and its scalability and flexibility will adapt to more needs of future network applications. Although XML has powerful data conversion capabilities and can completely replace HTML, it is still too early to directly adopt XML in the face of thousands of existing websites designed based on HTML language. Therefore, on the basis of HTML4.0, we extended it with XML rules and obtained XHTML. Therefore, the purpose of establishing XHTML is to realize the transition from HTML to XML. Currently, the internationally respected WEB standard in website design is based on XHTML applications (commonly known as CSS+DIV).