How to bold one word or letter in HTML
Want just one word to stand out? In Phoenix Pro, select the word in Live Preview and click B. In Community (free), wrap the word in HTML tags, as in <b>walks</b>. Both methods give you “favorite walks, quiet views” with the comma and the rest of the sentence in regular type.
Open the paragraph you want to edit
You can use your own HTML page. To follow the screenshots, download the Trail Notes practice website and extract the ZIP. Open the extracted first-website folder in Phoenix Code using the folder with a plus at the top left and Open Folder….
Double-click index.html in the file list. If Live Preview is closed, click the lightning bolt on the right. If prompted, choose Trust & Execute Preview for the practice folder. Look for the paragraph beginning “Welcome to Trail Notes.” beneath the heading “A little time outside.”
Make part of a paragraph bold
- Phoenix Pro
- Community (free)
Select the word in Design Mode
- Click the maximize icon in the preview toolbar to enter Design Mode. If the pen button is gray, click it to turn on Edit Mode. The pen turns orange.
- Click the paragraph to select it, then double-click its text. The formatting toolbar appears above or below the paragraph.
- Drag across just the five letters in walks. Leave the comma outside the selection. Click B, the first button on the formatting toolbar.

- Press Enter to finish editing. With
index.htmlactive, click the floppy-disk icon beside the file list to save the change. Click the orange pen to see the result without editing outlines.
For one letter, place the cursor just before it while editing the paragraph. Hold Shift and press Right Arrow once to select it. Click B, press Enter, and save as before.
Wrap the word in HTML tags
- Keep the code editor and Live Preview side by side. If the preview fills the workspace, click its restore icon. Open the small down arrow beside the pen and choose Highlight Mode.
- Click the “Welcome to Trail Notes.” paragraph in the preview. Phoenix Code takes you to its
<p>line inindex.html. - In that line, replace only
walkswith<b>walks</b>. The opening tag goes before the w and the closing tag goes after the s, before the comma. That part of your sentence should now look like this.
favorite <b>walks</b>, quiet views
- Choose File → Save, then choose Preview Mode from the arrow beside the pen. You should see walks in bold and the surrounding words in regular type.
For one letter, put the tags around that letter alone. For example, <b>W</b>elcome makes only the first letter of “Welcome” bold.
Why did the whole paragraph turn bold?
In Pro, clicking B with no text selected formats the whole paragraph. Undo the change, double-click the paragraph, and check which letters are highlighted before clicking B again. In HTML, check the position of </b>. Everything between <b> and </b> gets the formatting.
When should I use <strong>?
Use <strong> when the words carry importance or urgency. For example, <strong>Trail closed</strong> after heavy rain. marks “Trail closed” as a warning. Use <b> to draw attention to an ordinary word, as you did with “walks.” Read the HTML definition of <strong>.
