zoukankan      html  css  js  c++  java
  • 【HTML】Beginner1:TagsAttributesElements

    HTML(Hypertext Text Mark-up Language)&(How To Make L)
    HTML is used for meaning and CSS is used for presentation
    Learn from htmldog
     
    1.Tags
    opening tag:kicks things off 
    content
    closing tag
     
    <!DOCTYPE html>
    document type declaration
    let the browser know which flavor of HTML you're using(HTML5,in this case)
     
    </html>
    tell the browser an HTML document
     
    </head>
     
    </title>
     
    </body>
    the main conten of the document that will appear in the browser window
     
    <br>
    a line break
     
    <hr>
    horizontal rule
     
     
    2.Attributes
        Tags have attributes ,which are extra bits of information
        Attributes appear inside the opening tag and their values sit inside quotation marks 
    <tag attribute="value">Margarine</tag>
     
    3.Elements
        Tags tend not to do much more than mark the beginning and end of an element
        Elements are the bits that make up web pages.Everyting that is in between(and includes)the <body>and</body>tags is the body element.
  • 相关阅读:
    linux 常用命令
    博客园兼容手机端
    博客园点击页面,显示句子
    win10 系统禁止自动更新
    php获取数组中第一个元素或最后一个元素
    设计模式
    高并发抢购
    mySql 数据库优化
    3dMax+VR的安装步骤
    3dmax
  • 原文地址:https://www.cnblogs.com/yzhen/p/3657254.html
Copyright © 2011-2022 走看看