Home  >  Article  >  Web Front-end  >  HTML language analysis file markup

HTML language analysis file markup

黄舟
黄舟Original
2016-12-15 13:10:291172browse

; ; ; <br>Please also first understand the difference between containment tags and empty tags, please read [HTML Concepts]. <br><br>■ HTML basic structure: <br>The following HTML Source Code is the basic structure of an HTML file: <br><br><HTML> <br><HEAD> <br><TITLE> Title of the web page


The content of the web page, many tags are used here



Feature explanation:

The entire document is in the tags and .
is used to declare that this is an HTML file, allowing the browser to recognize and correctly process this HTML file.

The file is divided into two parts, from to is called the beginning, and to is called the article.
Basically, both have applicable tags. For example, can only appear at the beginning. <br><br>The beginning part is used to store important information, and only the article part will be displayed. <br>So most of the tags will be used in this article part. <br><br><TITLE> indicates the title of the file. <br>The name will appear at the top of the browser and when Bookmarked by others, so a different and clear title for each page is required. <br>Among the above tags, only <BODY> has parameter settings. <br><br>■ <BODY> Parameter settings: <br>Example: <br><BODY text="#000000" link="#0000FF" alink="#FF0000" vlink="#0000FF" background="bg1.gif" bgcolor="#FFFFFF" leftmargin=2 topmargin=2 bgproperties="fixed"> <br><br>text="#000000" <br>Used to set the text color. #000000 represents black, you can also use the name of the color, that is, text="black" . For the values ​​and names of various colors, please refer to the section [Color Adjustment Principles]. <br><br>link="#0000FF" <br>Set the general text link color. <br><br>alink="#FF0000" <br>Set the text link color when clicked. <br><br>vlink="#0000FF" <br>Set the color of the link. (pressed). <br><br>background="bg1.gif" <br>Set background wallpaper. Either GIF or JPEG is acceptable, absolute or relative. <br><br>bgcolor="#FFFFFF" <br>Set the background color. It will have no effect when the background wallpaper has been set, unless the wallpaper has transparent parts. <br><br>leftmargin=2 <br>Set the left edge space of the entire document display screen, in pixels. "Only applicable to IE" <br><br>topmargin=2 <br>Set the upper edge space of the entire document display screen. 『Only applicable to IE』 <br><br>bgproperties="fixed" <br>Fixed background wallpaper, the wallpaper will not scroll when the text is scrolled. "Only applicable to IE" <br>The letter size of tags and parameters can be adjusted. <br></p>The above is the content of HTML language analysis file tags. For more related articles, please pay attention to the PHP Chinese website (www.php.cn)! <p></p> <p><br></p></div><div class="nphpQianMsg"><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="List of HTML tags in HTML language analysis" href="http://m.php.cn/faq/344716.html">List of HTML tags in HTML language analysis</a></span><span>Next article:<a class="dBlack" title="List of HTML tags in HTML language analysis" href="http://m.php.cn/faq/344718.html">List of HTML tags in HTML language analysis</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Related articles</h2><em><a href="http://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="http://m.php.cn/faq/348757.html" title="Summary of Html knowledge" class="aBlack">Summary of Html knowledge</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348804.html" title="How to learn HTML quickly" class="aBlack">How to learn HTML quickly</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348873.html" title="The difference between html xhtml xml" class="aBlack">The difference between html xhtml xml</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348884.html" title="The difference between src and href attributes" class="aBlack">The difference between src and href attributes</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348902.html" title="About HTML5 and CSS replacement use" class="aBlack">About HTML5 and CSS replacement use</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="http://m.php.cn/about/us.html">About us</a><a href="http://m.php.cn/about/disclaimer.html">Disclaimer</a><a href="http://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></html>