zoukankan      html  css  js  c++  java
  • HTML5와 CSS3 적용기

    HTML5 DTD 선언 
    <!DOCTYPE html> 

    HTML5 인코딩 선언 
    <meta charset="utf-8"> 

    그리고나서는 새로 생긴 엘리먼트, 속성보다는 의미가 변경되었거나 폐지된 것들에 포커스를 두기 시작했습니다. 새로 생긴 엘리먼트, 속성은 지원되지 않는 브라우저가 있지만, 의미가 변경되었을 경우 브라우저에서 지원이 안된다거나 하는 문제는 없으며, 폐지된 것은 사용하지 않으면 그만이기 때문입니다


    HTML5
    에서 의미가 변경된 엘리먼트(의미만 변경되었을 경우


    <b>, <cite>, <hr>, <i>, <menu>, <s>, <small>, <strong> 

       

    HTML5에서 사용할 없는 엘리먼트 

       

    <basefont>, <big>, <center>, <font>, <s>, <strike>, <tt >, <u>, <frame>, <framesets>, <noframes>, <acronym>, <applet>, <isindex>, <dir> 

    HTML5에서 사용할 없는 속성 
    rev, charset - <link>, <a> 
    shape, coords - <a> 
    longdesc - <img>, <iframe> 
    target - <link> 
    nohref - <area> 
    profile - <head> 
    vertion - <html> 
    name - <img> id
    대체 
    scheme - <meta> 
    archive , classid, codebase, codetype, declare, standby - <object> 
    valuetype, type - <param> 
    align - <caption>, <iframe>, <img>, <input>, <object>, <legend>, <table>, <hr>, <div>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <p>, <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr> 
    alink, link, text, vlink - <body> 
    background - <body> 
    bgcolor - <table, <tr>, <td>, <th>, <body> 
    border - <table>, <object> 
    cellpadding, cellspacing - <table> 
    char, charoff - <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr > 
    clear - <br> 
    compact - <dl>, <menu>, <ol>, <ul> 
    frame - <table> 
    frameborder - <iframe> 
    height - <td>, <th> 
    hspace, vspace - <img>, <object> 
    marginheight, marginwidth - <iframe> 
    noshade - <hr> 
    nowrap - <td>, <th > 
    rules - <table> 
    scrolling - <iframe> 
    size - <hr> 
    type - <li>, <ol>, <ul> 
    valign - <col>, <colgroup>, <tbody>, <td>, <tfoot>, <th>, <thead>, <tr> 
    width - <hr>, <table>, <td>, <th>, <col>, <colgroup>, <pre>

  • 相关阅读:
    leecode 240. 搜索二维矩阵 II
    leecode 103. 二叉树的锯齿形层序遍历
    leecode 362. 敲击计数器
    leecode 152. 乘积最大子数组
    leecode 560. 和为K的子数组
    面试题 08.12. 八皇后
    leecode 450. 删除二叉搜索树中的节点
    leecode 384. 打乱数组
    leecoode 138. 复制带随机指针的链表
    mysql基本指令2
  • 原文地址:https://www.cnblogs.com/jweb/p/4615708.html
Copyright © 2011-2022 走看看