by Trainer Riad Thalji
Strong or Bold Text
Sometimes we need to highlight a text making it bold, without assigning it a heading tag. This can be applied to a whole text or some words within a text.
The most common tags for this are <strong> and <b>
For example, if we want to make the word HTML bold within a paragraph we may write:
<!doctype html> <html> <head> <title>My Learning Plan</title> </head> <body> <p>It is important to learn <b>HTML</b>, as it is the essential language for describing <strong>web pages</strong> to the browser.</p> </body> </html>
The result will be something like:
- If we get a formatting style that will apply on many locations in our web page or set of pages, we may use a technique called cascading style sheets, which is covered in other tutorials.