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>

  • 相关阅读:
    HTML5结构
    HTML5新增的非主体元素header元素、footer元素、hgroup元素、adress元素
    CF GYM 100703G Game of numbers
    CF GYM 100703I Endeavor for perfection
    CF GYM 100703K Word order
    CF GYM 100703L Many questions
    CF GYM 100703M It's complicate
    HDU 5313 Bipartite Graph
    CF 560e Gerald and Giant Chess
    POJ 2479 Maximum sum
  • 原文地址:https://www.cnblogs.com/jweb/p/4615708.html
Copyright © 2011-2022 走看看