Posts

Showing posts with the label head attributes

Meta Tag In HTML

Image
In HTML, <meta> tags are used to provide metadata about an HTML document. Metadata is data about data, which means it gives information about the HTML document itself rather than the content displayed on the page. <meta>tags are typically placed inside the < head > tag of an HTML document and do not have a closing tag because they are self closing tags. Commonly Used of <meta> Tags and Their Purposes: Character Encoding : Specifies the character encoding used for the document. UTF-8 is the most widely used encoding, supporting a vast range of characters from various languages and scripts. Viewport : In this section, we will define the properties of the viewport or displayed area. This is crucial for responsive and visually appealing web page design. It also ensures that the display appears consistently across different devices. Attributes of Viewport in Meta Tag. Shrink to fit  Viewport to fit Height Width...