We can also use CSS style to change the style of the text: bold, italic, underline, strikethrough, you can use the following code to implement the formatting text in bold style display.
P Span{font-weight:bold;}
As you can see here, if you want to set the bold font for text to be implemented with a separate CSS style, you don't have to use the H1-H6 or strong tags to implement bold styles.
<!DOCTYPE HTML><HTML><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8"><title>Bold sign</title><styletype= "Text/css">P span{Font-weight:Bold;}a{Font-weight:Bold;}</style></Head><Body> <H1>Courage</H1> <P>When I was in third grade, I was a<spanclass= "stress">Timid</span>The little girl, never dared to answer the teacher's questions in class, afraid to answer the wrong teacher will<ahref= "Http://www.rinpe.com"Target= "_blank">Criticism</a>I. Have never had the courage to answer the questions asked by the teacher. I didn't have the courage to take part in the school events.</P> <P>To the third grade next semester, our class in a public class, the teacher put forward a very simple question, the class many students have raised their hands, even the result is much worse than me, also raised his hand, also said: "I come, I come." "I looked around for four weeks, so I didn't raise my hand.</P></Body></HTML>
Text layout-Bold (Font-weight)