Introduction
In web development, we sometimes need to display programming-related or computer-related content on our web pages. When we want to show specific terms like some function name or any variable name, we can use the <code>
tag to enclose them. This tag changes the font family for the enclosed text to a monospaced font such as courier
.
Note: You can practice coding in
index.html
and learn How to Write HTML in Visual Studio Code. Please click on 'Go Live' in the bottom right corner to run the web service on port 8080. Then, you can refresh the Web 8080 Tab to preview the web page.