Li once again, finishing some important common point is not

HTML

 

Key Concepts:

  • Block-level elements in the page to show the form of blocks - the front with respect to its content of it will appear in a new line, after which the contents will be pushed to the next line show. Block-level elements typically used to display the contents of page configuration, for example paragraphs, lists, navigation menu, the footer and the like. Show in the form of a block can not be nested block elements into inline elements, but can be nested within other block-level elements.
  • Inline elements typically occurs in a small portion and around the block elements of the document content, rather than an entire paragraph or a set of content. Inline elements do not lead to wrap text: It is usually seen in between a bunch of text elements such as hyperlinks <a>or emphasize elements <em>and  <strong>.

 

Analysis:

  • <!DOCTYPE html>: Document type declaration long time ago, early HTML (approximately February 1991), document type declaration similar to the link, the provisions of the HTML pages must comply with the rules of good that can automatically detect errors and other useful things. Use as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

But now no one wrote, everything needed to ensure that each work has become history. You just need to know <!DOCTYPE html>is the shortest valid document declaration.

 

  • Many  <meta> properties no longer used. For example, keyword  <meta> elements ( <meta  name="keywords" content="fill, in, your, keywords, here">) - Provides keyword to search engines, depending on the search terms to find relevant websites - have been ignored by search engines, because cheating is filled with a large number of keywords to keyword, incorrectly guide the search results.
  • Graph the Data Open (open content protocols), Open Graph protocol enables any web page to become a rich media on social media, for example, Facebook uses this protocol not become any page on Facebook can show a similar function . Currently found only functions can be defined to share content, Facebook can do more interactivity and application.
    <meta property="og:image" content="https://developer.cdn.mozilla.net/static/img/opengraph-logo.dc4e08e2f6af.png">

     

    Common Open Graph properties:

    • og: title title
    • og: type commonly used type of value: article book movie
    • og: image thumbnails Address
    • og: url page address
    • Quick description description page: og
    • og: site_name page where the site name
    • og: videosrc video or Flash Address
    • og: audiosrc audio address

Common entity references:

 

Literals Equivalent character reference
< &lt;
> &gt;
" &quot;
' &apos;
& &amp;

 

Guess you like

Origin www.cnblogs.com/llll/p/11721249.html