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.
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.
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.
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.
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.