Welcome ðŸŽ‰

logo

ReactLMS

Search
Light Mode
Contact Us

1 min to read

Contact us

No results for your search.
Sorry, an unexpected error occurred

Concept


The <head> tag is used to define information that is not directly displayed on the web page, but is important for creating and managing the website.

The <head> tag is usually placed at the beginning of an HTML page.


Main function


The <head> tag contains important components of a web page, including:


Example


Below is an example of the basic structure of the <head> tag:

<!DOCTYPE html>
<html>
  <head>
      <title>Trang web của tôi</title>
      <meta name="description" content="Mô tả trang web của tôi">
      <link rel="stylesheet" href="styles.css">
      <script src="script.js"></script>
  </head>
  <body>
      <!-- Nội dung của trang web -->
  </body>
</html>






In this example, we have a title "My Website", a short description of the website, a link to a CSS file, and a piece of JavaScript code embedded in the page.


Read more
On This Page