174k views
5 votes
What is the correct way to write h1 tag

1 Answer

4 votes

Answer:


\huge\boxed{\texttt{<h1> </h1>}}

Step-by-step explanation:

The h1 tag in HTML is used to create title-like text.

HTML stands for Hyper Text Markup Language, and is the most common programming language used for website creation with content that can be read.

  • Additionally, CSS (Cascading Style Sheets) is used for the design of a document, such as colors or designs that are on the website.
  • JavaScript is used for scripting websites such as interactive features that can be used via JavaScript.

h1 is the most common use for a big title on a screen. For example, if you're writing an article, you might put the name of your article title in h1 to give it that title emphasis.

Any tags in HTML will open with <> and end with </>, replacing whatever is inside of those tags with the type of style you want. So, an h1 tag would work like this.

<h1> Hello there! </h1>

The <h1> starts the next string into the h1 format, and the </h1> tells it to stop parsing what's after into the h1 tag.

Hope this helped!

User Banks
by
5.0k points