Computer Science, asked by Poorna07, 8 months ago

Write a html program to display your friends name by using a heading tag​

Answers

Answered by yashkarmur34
2

Answer:

You have seen that there are certain characters that have special meaning in HTML code. For example, the “< ” and “ > ” characters delimit tags. If you want to display such characters on the web page, you have to take care that the characters are not interpreted and are displayed literally. To display the “< ” character, it can be specified as “&lt”. The “&” interprets the “lt” as the “< ” symbol and displays it. But now what if you want to display the & symbol itself? Simply writing “&” in the code will not display it. But first, let us see how to display some special characters.

The browser will display your text in a steady stream unless you tell it to do so otherwise with line breaks. It will reduce any amount of white space to a single space. If you want more spaces, you must use the space character (&nbsp;). If you hit Return (or Enter) while you are typing, the browser will interpret that as a space unless there is already a space there.

Similar questions