Beginners Guide to HTML - tags, attributes and elements

Related Tags:

  html is a simple text markup language, but she also with a number of other different text files such as doc, wps, and we should learn more points related to the content to make it an effective HTML file. 

  Tags 

  An HTML document, including the Basic structure of labels, tags used to mark content with labels to indicate the significance of the text. 

  We open with the tablet html documents, according to the code in Figure changes: 

  Once again, preservation of our documents, open F5 button on the browser refresh our pages.    You can see the contents of web pages that have not changed, but the purpose of the application HTML significance rather than appearance, and this is an example definition of a web page has some of the basic elements of the. 

  Below we explain the above code: the top of the first lines of code <! DOCTYPE ... is to tell the browser what we are doing now.    Sometimes some people may feel that this code can be omitted, but if we omit it may result in non-browser normal work, resulting in the production of pages we can not visit.    Now some people in the promotion of XHTML, in the back when we have to focus on what type of documents in XHTML.    We usually produced Web habits Add to the above code you to the first page. 

  <html> Is that HTML documents, to </ html> end to set up a HTML file.    <body> And </ body> in the browser window to Display the main contents of HTML documents is the main part. 

  Close Tags: 

  </ Body> and </ html> is close to their labels labels, now standard WEB promote this technology, that is to say, all open HTML tags should be closed, this is more in line with reality, I like this view, That is what has started, then there should also be an inevitable end of the time, do you think?    But the older HTML version also allows some of the labels were not closed, but the latest standard requires that all labels be closed.    We are learning that should develop a good habit of attention is what you open label, and then when the content of the label at the end to close it. 

  Not all labels are similar to this end labelling (<html> </ html ") of some of the labels, not the content of the packaging will be shut down around themselves.    For example, to change labels, for example: <br />.    In the following study, we will find these examples.    We must open up the label to close, but most of (the contents of those among them) format is open label - content - End label. 

  Attribute 

  Tags also attribute is a little bit of additional information.    Attribute that appeared in the open label, and their value is always in quotes.    They format <label attribute = "value"> I love DivCSS </ labels>.    In the following article, we will introduce specific label attributes. 

  Elements 

  Labelling is a start and end elements of marking.    Web content is from the elements.    Including In "body> and </ body> tag between all elements of the <body> Element is the theme.    For example, and <title> </ title> is the label <title> I love DivCSS welcome you </ title> is the name of an element, he indicated in the title of the browser shows that the content of the column is the title of your page . 

Related articles:

DIV CSS layout entry Example (1) page layout and planning
  1, page layout and planning for a long time have not been seriously Xiediandongxi, often think of these recent time, I asked a friend on the DIV CSS layout of the issue, the final analysis is the absence of the entry.    Then the next article on the lead entry bar ...    ...
Google AdSense advertising display
  Net code Station End users and Google HTML, not necessarily immediately display in Guizhan to see the content of the ads.    From my experience, if you have already applied for and part of the Google AdSense advertising program, and will be successful advertising AdSense HTML code t...
Flash MX 2004 produced video tutorial examples: inverting pages (2)
  Article 42: inverting pages (2)    Course objective: an interactive production of this diary.    Course elements: the production of a dynamic program with PHP communications of this diary.    Is divided into two sets, this is Dierji.    Guide accompa...
Ajax.net in the interaction with the server controls use
  Two days ago in the online components of a ajax to experience what I feel is pretty good.    But then how can it begin to control interaction with the server is, for example, I have a list of output, with only a one js html output?    No!    !    Now, I...
Flash 8 produced by burning cigarettes effects animation (directory)
  Course Title: Flash 8 produced by burning cigarettes animation    Curriculum objectives: to draw objects using Flash 8 and master Flash 8 new features.    Curriculum points: Video Guide to teach you how to draw an ashtray and cigarette, and the application of filters fl...