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>

  • 相关阅读:
    framework7 底部弹层popup js关闭方法
    div动画旋转效果
    面试题3
    面试题2
    CORS跨域请求[简单请求与复杂请求]
    面试题1
    nginx
    Pycharm配置支持vue语法
    Ajax在jQuery中的应用---加载异步数据
    jQuery开发入门
  • 原文地址:https://www.cnblogs.com/jweb/p/4615708.html
Copyright © 2011-2022 走看看