-
Step 1
As a reminder, for this article, note the follow: LT means ‘less than symbol’ and GT refers to the ‘greater than symbol’. The first step is to enter the beginning tag: LT strong GT
-
Step 2
The next step is to enter the text you want to make bold.
-
Step 3
The third step is to add the closing tag: LT /strong GT . Text can also be changed to ‘Bold’ by using Cascading Style Sheets (CSS). Style instructions can be provided through an external style sheet, through embedded styles using the STYLE tag in the HEAD section of a web page or inline. This example will demonstrate inline style in order to easily show the CSS instructions required.
-
Step 4
In our example we will use the paragraph tag or P to demonstrate. The first step is to enter tag pair surrounding the text: LT p GT some text to make bold LT /p GT.
-
Step 5
coding examplesThe next step is to apply the STYLE tag to the paragraph tag. LT p style=”;”GT some text to make bold LT /p GT. The FONT-WEIGHT CSS property is used to apply ‘Bold’ to text: LT p style=”font-weight: 900;” GT this text is bold LT /p GT . 900 is the maximum bold value. The following values are available for the FONT-WEIGHT property: normal, bolder, bold, lighter, 100, 200, 300, 400, 500, 600, 700, 800,900. The attached graphic provides coding examples of the methods mentioned in this article.









Comments
ourlastchance said
on 12/1/2009 Great tips for customizing text on webpages. 5*