Starting from today in the blog Park to open their own HTML tutorial, starting from the first section, first recommend a site, is http:/ Www.w3cschool.cc, this is an open teaching site, but it has a problem, that is, although very comprehensive, but not an introductory site, but a manual nature of the site, which is suitable for us to check at any time, but not suitable for us to read and learn anytime and anywhere. This tutorial is a suitable introductory tutorial, if it is novice, you can learn, if it is a master, this knowledge of HTML will not be looked at.
Quick Start *************
1.html is the abbreviation of Hypertext Markup Language, the Hypertext Markup Language, the so-called hyper-text, which can contain images, hyperlinks, and so on, not just text, it is a markup language, not a programming language, So you can learn very quickly.
2. We can create a new xinxing.html and write the following code in the editor:
<HTML> <Head> <title>Sinsing CSS, looking forward to your attention</title> </Head> <Body> <P>Sinsing HTML, looking forward to your attention</P> </Body></HTML>
Then save, and then open with a browser, you will find that the browser interface shows a few words: Sinsing html, look forward to your attention. Let's take a look at this piece of code.
Label *************
1. Here you will find that we have a
2. In fact, since HTML is called a markup language, it is also composed of a number of tags, our initial
3. Of course, we also have head tag pair and body tag pair, they function is the same, here say the head tag, it contains all the head tag elements, in the head element we can add some settings, we go to the back to elaborate.
4. The following title tag describes the content of the title of the toolbar in the browser, it also assists search engines to search the page, and when we add the page to the collection, it also displays the title in the Favorites folder.
5. The body tag above is the browser's display content, we usually also more to write the content here, its content is more extensive.
The P tag of the 6.body tag indicates a paragraph in which the textual information is the content of the paragraph, and of course we only show a word here, and there is no special meaning.
Remark ***************
1. Not all labels are made up of start and end tags, such as labels for wrapping <br/> in fact, we want to change lines, just write a <br> on it, but out of the standard, we add a space and a slash behind the Br.
2. Tags can also have attributes, these we say later, my principle is: when used to say.
Summary ******************
1. This section we mainly understand the basic knowledge of HTML, and then demonstrated the HTML file to the wording.
2. We then introduce some of the most basic tags in HTML.