+ 4
Wt is meta used for?
.anyone?
6 odpowiedzi
+ 6
Whatever you write inside the meta tag in html will not be on the webpage. Metadata elements are information of the webpage that one may not see on the actual page.
Example: You make a webpage and you don't want to have your name (author) somewhere visible on the page. You use the meta tags and your name is available only at the site information or the html code. Same applies for last modified dates to ease the we develloper's work.
+ 7
Ohh ok.
Thanjs!
+ 6
wait so what your saying is that meta is used to kinda like to customize your website
+ 5
Oh ok thanks for more info
+ 4
Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.
Source: https://www.w3schools.com/tags/tag_meta.asp
+ 3
in <meta> you can define
viewport
charset definition
other data
example:
<head>
<meta charset="UTF-8">
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,XML,JavaScript">
<meta name="author" content="John Doe">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>