Home  >  Article  >  Web Front-end  >  Summary of points to note about

Summary of points to note about

巴扎黑
巴扎黑Original
2017-06-11 14:06:111673browse

1. Use the html bold tag to bold the text by using the b tag or strong tag. 1. The corresponding syntax is as follows: 2. Application case 1), complete code of html case (you can copy and test): Bold implementation DIVCSS5</p> <p><span style="line-height: 1.76em;">1. <a href="http://www.php.cn/div-tutorial-364172.html" target="_blank">How to set the bold font of html text</a></span></p> <p><span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/000/007/70098c38a753d9103d177109d5d8655d.jpg" style="max-width:90%" alt="Summary of points to note about<b>" ></span></p> <p><span style="line-height: 1.76em;">Introduction: 1. Use html bold tag. Use b tag or strong tag to bold text. 1. The corresponding syntax is as follows: <b></b> <strong><strong></span></p> <p><span style="line-height: 1.76em;">2. <b> and < in <a href="http://www.php.cn/div-tutorial-359933.html" target="_blank">html ;strong>Difference</a></span></p> <p><span style="line-height: 1.76em;"><img src="https://img.php.cn/upload/article/000/000/164/25579c06c010e046d06bf535fac35665.jpg" style="max-width:90%" alt="Summary of points to note about<b>" ></span></p> <p>##Introduction: Although the two have the same display effect on the web page, their actual purposes are different . This tag corresponds to bold, which means text bolding. Its purpose is only to boldly display text, which is a style/style requirement; this tag means strengthening, indicating that the text is more important and reminds readers/terminals to pay attention. In order to achieve this purpose, browsers and other terminals display them in bold; summary: bold for the sake of boldness, bold for the purpose of highlighting key points. <span style="line-height: 1.76em;"></span></p>##3. <p>HTML <b>, <strong>, <big>, <small>, <em>, <i>, < Sub> and <sup> tags<span style="line-height: 1.76em;"><a href="http://www.php.cn/div-tutorial-334778.html" target="_blank"></a></span>##Introduction: HTML <b>, <strong>, <big>, <small>, <em> , <i>, <sub> and <sup> tags</p> <p><span style="line-height: 1.76em;"></span>4. </p>Yang Hui Triangle PHP writes Yang Hui Triangle example code<p><span style="line-height: 1.76em;"><a href="http://www.php.cn/php-weizijiaocheng-323479.html" target="_blank"> </a></span>Introduction: Yang Hui Triangle: Yang Hui Triangle PHP writes Yang Hui Triangle example code: Copy the code code as follows:<?php //Yang Hui Triangle for ($i=6;$i >= 0;$i- -) { for ($j=$i;$j <= 6;$j++) { if ($j <= 6-1) { echo "<b>a</b>"; }else { echo "<br />"; } } } ?> PHP print Yang Hui triangle custom copy code code is as follows:&l</p> <p><span style="line-height: 1.76em;">##5. </span>photoshop cs2 v9.0 Green Chinese Version PHP Getting Started Learning Knowledge Points Seven Basic Applications of PHP Functions </p> <p><span style="line-height: 1.76em;"><a href="http://www.php.cn/php-weizijiaocheng-323470.html" target="_blank"></a>Introduction: photoshop cs2 v9.0 Green Chinese Version: photoshop cs2 v9.0 Green Chinese Version PHP Getting Started Learn the basic application of knowledge point seven PHP functions: Copy the code as follows:<?php /* * Simple function*/ function fontBold($con){ return "<B>$con</B>"; } $ str="Simple function test!"; echo "Normal text: $str<br>"; echo "Bold text:".fontBold($str).""; /* * With </span></p> <p><span style="line-height: 1.76em;">6. </span>In smarty, strip_tags is used to filter html tags first, and then truncate is used to intercept articles. </p> <p><span style="line-height: 1.76em;"><a href="http://www.php.cn/php-weizijiaocheng-323019.html" target="_blank"></a>Introduction:: In smarty, strip_tags is used to filter html tags first, and then truncate is intercepted. Article application: The strip_tags() function strips HTML, XML and PHP tags. Copy the code as follows: <?php echo strip_tags(“Hello <b>world!</b>”); ?> You can use strip_tags in smarty to remove html tags, including any between < > content. For example: index.php: Copy the code. The code is as follows: $smarty</span></p> <p><span style="line-height: 1.76em;">7. </span>AndroidManifest.xml php xml example guestbook</p> <p><span style="line-height: 1.76em;"><p><span style="line-height: 1.76em;">Introduction: AndroidManifest.xml: AndroidManifest.xml php xml example guestbook: Copy the code The code is as follows: <?php //Open the XML file used to store messages $guestbook = simplexml_load_file('DB/guestbook. xml'); foreach($guestbook->thread as $th) //Loop to read each thread tag in the XML data { echo "<B>Title: </B>".$th-> tit</span></p> <p><span style="line-height: 1.76em;">8. <a href="http://www.php.cn/php-weizijiaocheng-321748.html" target="_blank">Several classic codes that must be collected when learning PHP Page 1/2</a></span></p> <p><span style="line-height: 1.76em;">Introduction:: Page 1/2 of several classic codes that must be collected when learning PHP: Classic loop examples<HTML> <HEAD> <TITLE>Classic loop examples coun

##9. https: //exo-l.smtown.com/home Some commonly used PHP functions

##Introduction: https://exo-l. smtown.com/home:https://exo-l.smtown.com/home Some commonly used php functions: 1. Generate random string function

Introduction: PHP determines character type: PHP determines character type Analysis of PHP's common string output methods Original: This article describes PHP's commonly used string output methods. Share it with everyone for your reference, the details are as follows: 1. Echo usage: You can use echo to output directly, or you can use echo() to output, no return value $string="Bold display text"; echo $string;//echo "
";//echo($string);//The effect is the same as above echo "
";echo "This ", "i【Related Q&A recommendations】:

##javascript - In TWaver, what does this sentence mean "link.setToolTip("Hello111

About vue methods this

java - A is a subclass of B, why List is not Subclass of List

##What is the difference between these two emphases?

The above is the detailed content of Summary of points to note about. For more information, please follow other related articles on the PHP Chinese website!