The first step in enhancing our application is to have it deliver HTML instead of plain text.
HTML is the markup language of the web, which is used to give a web page its structure. In essence, it's just a bunch of tags that give meaning to the text.
For example, the current output from the temperature API is 26°C. Although it gives us the information we need, it would be more meaningful to highlight the actual value more than the unit. An output of 26°C looks better than our plain text version.
Let's translate this into HTML. We have the strong tag, which is used to give emphasis to the text by making it thicker than usual.
The standard format of HTML tags is as follows:
<tag>text</tag>
Here, we replace tag with the name of our tag. If we wanted to make only the value bolder, we would write this:
<strong>...