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>

  • 相关阅读:
    JVM,反射与动态代理
    11款实用的一句话网站设计代码
    Winform TextBox中只能输入数字的几种常用方法(C#)
    列表checkbox全选
    函数调用约定
    vs编译后在本机能运行,在别的机器上运行提示runtime Error的问题
    学习地形编程(一)
    Ogre中动态三维鼠标的实现
    讲讲volatile的作用
    绕任意轴旋转的推导
  • 原文地址:https://www.cnblogs.com/jweb/p/4615708.html
Copyright © 2011-2022 走看看