Title in HTML

Heading (Heading) in HTML is determined by word markup

 

next

,

Inside

 

is the most important title

 

is the least important.

For example

Example title 1


Example title 2


Example title 3


Example title 4


Example title 5

Example title 6

The browser will automatically add a space (or margin) before and after the title.

The title is very important

The search engines use headers to add indexes to the structure and content of your web pages. Users also skim the headlines to understand the content so using headlines to show text structure is important.

Title

 

should be used as the main title, then

 

and

.

Note that the HTML title should be used to display the title, not for the purpose of making the text larger or darker.

Larger title

Each title in HTML has a default size. But you can change this size with style, properties style, using the font-size properties of CSS.

For example

Example title 1

Use horizontal ruler in HTML

Card


used to create a horizontal line on the HTML page. This element is used to split content (or show changes) on an HTML page.

For example

Example title 1


Text content 1

 


Example title 2


Text content 2

 

Element in HTML

Element in HTML is not related to HTML titles. It is used to store metadata (data about HTML documents). This data will not be displayed.

Element placed between cards and card

For example





Văn bản HTML




Note: Metadata often identifies text names, character sets, styles, paths, scripts, and more.

How to view HTML source?

If you see a nice website and wonder how the web developer has done, you can completely view the HTML source code of the website.

See the HTML source code of the website

Right-click anywhere on the page and select View Page Source (on Chrome) or View Source (on IE) or similar options on other browsers. A new window will open, displaying the HTML source of the page.

Check HTML elements

Right-click an element (or blank area) on the page and select Inspect or Inspect Element to see what the element is (will include HTML and CSS). You can quickly edit HTML or CSS right on the Elements panel and the new Styles opens.

Last lesson: Attributes in HTML

The following article: Text in HTML

4.5 ★ | 2 Vote

May be interested

  • Style properties in HTMLStyle properties in HTML
    the style attribute specifies the style for the html element.
  • Text in HTMLText in HTML
    the element in html is used to define a paragraph of text.
  • How to Use Text Color Tags in HTMLHow to Use Text Color Tags in HTML
    this article explains how to change the font color in html documents. although the html style tag is obsolete in html5, you can use css to color content on an html page. if you use an older version of html, you can use the html text color tag as needed.
  • Format text in HTMLFormat text in HTML
    format elements in html help determine the style and importance of text.
  • Elements in HTMLElements in HTML
    the html element usually goes in pairs, including the opening tag, closing tag, and the content inside the two tags.
  • Symbol - Icon in HTMLSymbol - Icon in HTML
    html has many mathematical, technical and monetary symbols that cannot be used to write.
  • Common HTML mistakes that you should avoid for better web programmingCommon HTML mistakes that you should avoid for better web programming
    learning html is not difficult, but when running it in the browser, errors often occur. here are common html errors and how to handle them for better web development.
  • How to insert spaces in HTMLHow to insert spaces in HTML
    this tutorial explains how to insert spaces and line breaks in html. because no matter how many times you type a space, html will display a space so to insert more than one space, you will need to use the html tag.
  • Image img in HTMLImage img in HTML
    when you visit the website, you will often see images of all sizes and positions on the page. images in html web pages will help to enrich the content as well as increase the aesthetics of the page.
  • Head element in HTMLHead element in HTML
    in html, the element is a set containing metadata (metadata) placed in tags and tags.