X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time.
This article has been viewed 87,230 times.
Learn more...
When coding HTML documents, it may sometimes be necessary not only to bold a word, but also to italicize the same word. This article will help you create that effect (bold italicize).
Steps
-
1Open a simple text editing program such as either Notepad or WordPad on Windows, or, on a Mac open up TextEdit.
-
2Type all preceding HTML text that you want before the bold and italicized text.Advertisement
-
3Open up the phrase you want bold and italicized with the <b> tag.
-
4Open up the phrase that you want bold and italicized with the <i> tag.
-
5Type the text you want boldfaced and italicized.
-
6Type the closing tag for the italicizing, </i>. It's often times better to type the closing tag for the tag that lies inside before and work outwards, to make it easier on the eyes for a coder to recognize what style you are trying to perform.
-
7Type the closing tag for the boldfaced portion,</b>.
Advertisement
Community Q&A
-
QuestionWhat type of language is HTML?Community AnswerHTML, an abbreviation of the HyperText Markup Language, is its own programming language. Web browsers are capable of reading HTML, from both files in a computer and from a web server, and use the information within the code to display text, images, etc.
-
QuestionWrite HTML code do I need to display a text mobile world having bold and italic?Owen PritchardCommunity AnswerHTML doesn't have the option to write bold, because that is not how Java works. You cannot, but even if you could, it would not change the URL you go to later.
Advertisement
About This Article
Advertisement