Home >Web Front-end >Front-end Q&A >What elements have been removed from the new features of html5

What elements have been removed from the new features of html5

青灯夜游
青灯夜游Original
2022-01-17 10:58:493863browse

elements removed in the new features of html5: basefont, big, center, font, s, strike, tt, u, frame, frameset, noframes, acronym, applet, etc.

What elements have been removed from the new features of html5

The operating environment of this tutorial: Windows 7 system, HTML5 version, Dell G3 computer.

What are the new features of html5 and which elements have been removed?

  • HTML5 is no longer a subset of SGML, it is mainly about images, location, storage, multi-tasking and other functions Added

    • paintingcanvas
    • video and audio elements for media playback
    • Local offline storagelocalStorage Long-term storage of data, the data will not be lost after the browser is closed
    • sessionStorage data will be automatically deleted after the browser is closed
    • Content elements with better semantics, such as article, footer, header, nav, section
    • Form controls, calendar, date, time, email, url, search
    • New Technologywebworker, websocket, Geolocation
  • Removed elements:

    • Purely expressive elements: basefont, big, center, font, s, strike, tt, u
    • Elements that negatively impact usability: frame, frameset, noframes

    • Confuses: acronym, applet , dir

    ##Define an acronym, please use the tag to replace it

    ## The # tag is used to define an embedded applet, please use instead.

    The tag is used to set the default font size of the document

    Labels make larger text.

    The tag horizontally centers the text it surrounds

    Tag definition directory list

    Specifies the size and font of the text and color

    tag defines child window (frame)

    tag defines frameset

    for browsers that do not support frames Display text</p> <p><strike> tag defines strikethrough text, please use <del> tag instead</p> <p><tt>Tag defines typewriter text</p> <p>< s>Tag defines strikethrough text</p> <p><u>Tag defines underlined text</p> <p></p> </blockquote>##Support</li>HTML5<li>New tag:<p><code></code></p>IE8/IE7/IE6<ul>Support tags generated through the <li>document.createElement<code> method</code><code>You can use this feature to allow these browsers to support </code>Hold HTML5</li>New tag<li><code>After the browser supports new tags, you still need to add the default style of the tag</code></li> <li> </ul>Related recommendations:《</li>html video tutorial</ul>》<p></p><p>The above is the detailed content of What elements have been removed from the new features of html5. For more information, please follow other related articles on the PHP Chinese website!</p></div><div class="nphpQianMsg"><a href="javascript:void(0);">html5</a> <a href="javascript:void(0);">html</a> <a href="javascript:void(0);">Object</a> <a href="javascript:void(0);">date</a> <a href="javascript:void(0);">Calendar</a> <a href="javascript:void(0);">canvas</a> <a href="javascript:void(0);">websocket</a><div class="clear"></div></div><div class="nphpQianSheng"><span>Statement:</span><div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div></div></div><div class="nphpSytBox"><span>Previous article:<a class="dBlack" title="Teach you how to use css to achieve smoke effects in ten minutes" href="https://m.php.cn/faq/487580.html">Teach you how to use css to achieve smoke effects in ten minutes</a></span><span>Next article:<a class="dBlack" title="Teach you how to use css to achieve smoke effects in ten minutes" href="https://m.php.cn/faq/487609.html">Teach you how to use css to achieve smoke effects in ten minutes</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Related articles</h2><em><a href="https://m.php.cn/article.html" class="bBlack"><i>See more</i><b></b></a></em><div class="clear"></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-5902227090019525" data-ad-slot="8966999616"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><ul class="nphpXgwzList"><li><b></b><a href="https://m.php.cn/faq/487500.html" title="Which list form is deprecated in HTML5" class="aBlack">Which list form is deprecated in HTML5</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/faq/487501.html" title="What is the representation of paragraph text in HTML5?" class="aBlack">What is the representation of paragraph text in HTML5?</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/faq/487504.html" title="How to use shortcut keys to implement comments in html5" class="aBlack">How to use shortcut keys to implement comments in html5</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/faq/487512.html" title="Is it correct that h5 is the abbreviation of html5?" class="aBlack">Is it correct that h5 is the abbreviation of html5?</a><div class="clear"></div></li><li><b></b><a href="https://m.php.cn/faq/487513.html" title="What is the code to remove the outer border of an element in html5" class="aBlack">What is the code to remove the outer border of an element in html5</a><div class="clear"></div></li></ul></div></div><ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-5902227090019525" data-ad-slot="5027754603"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script><footer><div class="footer"><div class="footertop"><img src="/static/imghwm/logo.png" alt=""><p>Public welfare online PHP training,Help PHP learners grow quickly!</p></div><div class="footermid"><a href="https://m.php.cn/about/us.html">About us</a><a href="https://m.php.cn/about/disclaimer.html">Disclaimer</a><a href="https://m.php.cn/update/article_0_1.html">Sitemap</a></div><div class="footerbottom"><p> © php.cn All rights reserved </p></div></div></footer><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></div><script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><script>jQuery.fn.wait = function (func, times, interval) { var _times = times || -1, //100次 _interval = interval || 20, //20毫秒每次 _self = this, _selector = this.selector, //选择器 _iIntervalID; //定时器id if( this.length ){ //如果已经获取到了,就直接执行函数 func && func.call(this); } else { _iIntervalID = setInterval(function() { if(!_times) { //是0就退出 clearInterval(_iIntervalID); } _times <= 0 || _times--; //如果是正数就 -- _self = $(_selector); //再次选择 if( _self.length ) { //判断是否取到 func && func.call(_self); clearInterval(_iIntervalID); } }, _interval); } return this; } $("table.syntaxhighlighter").wait(function() { $('table.syntaxhighlighter').append("<p class='cnblogs_code_footer'><span class='cnblogs_code_footer_icon'></span></p>"); }); $(document).on("click", ".cnblogs_code_footer",function(){ $(this).parents('table.syntaxhighlighter').css('display','inline-table');$(this).hide(); }); $('.nphpQianCont').viewer({navbar:true,title:false,toolbar:false,movable:false,viewed:function(){$('img').click(function(){$('.viewer-close').trigger('click');});}}); </script></body><!-- Matomo --><script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="https://tongji.php.cn/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '9']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script><!-- End Matomo Code --></html>