Learn HTML

"Are you looking to learn HTML from scratch? Look no further! Our HTML course is designed for both beginners and advanced learners who want to master the fundamental concepts of HTML. Our comprehensive course covers everything from the basic concepts of HTML, including tags, attributes, and elements, to the more advanced concepts such as multimedia, responsive design, and accessibility."

HTML Meta Tags

HTML <meta> tags are used to provide metadata about an HTML document. This information can be used by search engines, social media platforms, and other web services to understand and display the content of the page.

Here are some common <meta> tags and their purposes:

  • charset: This tag specifies the character encoding used by the document. For example, <meta charset="UTF-8"> sets the character encoding to UTF-8, which can handle a wide range of international characters.
  • viewport: This tag is used to specify the viewport settings for mobile devices. For example, <meta name="viewport" content="width=device-width, initial-scale=1.0"> sets the width of the viewport to the device width and sets the initial zoom level to 1.0.
  • description: This tag provides a brief description of the content on the page. This is often used by search engines to display a summary of the page in search results.
  • keywords: This tag specifies a comma-separated list of keywords relevant to the content on the page. This is also used by search engines to help categorize and display the page in search results.
  • author: This tag specifies the author of the document.
  • robots: This tag controls how search engines index and display the page. For example, <meta name="robots" content="index,follow"> tells search engines to index and follow all links on the page.

Here's an example of a <head> section with several <meta> tags:

<!DOCTYPE html>
   <meta charset="UTF-8">
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <meta name="description" content="This is my website.">
   <meta name="keywords" content="HTML, CSS, JavaScript">
   <meta name="author" content="John Doe">
   <meta name="robots" content="index,follow">
   <title>My Website</title>
   <!-- page content goes here -->

Please be note that these are the essential meta tags which should be use in every HTML document while create html web page.