

So, you need to include the meta name="viewport" content="width=device-width, initial-scale=1.0" tag in every HTML file. Nowadays, it is important that all sites look good on all devices, especially mobile phones.

This tag will ensure that the website will not be rendered as an older version of Internet Explorer, which tend to be buggy. In the past the different advances caused headaches to web designers and web developers alike, who worked on making sure websites were usable on legacy browsers.

There are many versions of Microsoft's browser. You use the http-equiv="X-UA-Compatible" content="IE=edge" meta tag to choose and define the version of Internet Explorer in which the web page will be renedered.Īlways choose the latest one, which is IE=edge.
Final draft tagger clear element how to#
How to let Microsoft's Internet Explorer know which rendering view to use When the HTML document is viewed in the browser, all the characters are distorted. But you still need to include in every HTML file in case this feature is not supported by other browsers.įor example, look at what happens in the Safari browser when this line is not added and I write a heading in a non-latin language, such as Greek: The Google Chrome browser has automatically set the encoding to UTF-8, so you won't have to worry about that when designing for this browser. This line should be included in every single webpage created, as it ensures that every character from every language in the world is displayed properly in every browser.īy using the universal UTF-8 as the character set, characters from non-latin languages will not be distorted. UTF-8, which stands for 8-bit Unicode Transformation Format, is the standard character encoding used with the latest version of HTML, which is HTML5. defines the character set that will be used in the site. How to define the character set of a website Some of them help improve the SEO (Search Engine Optimisation) of your website, making sure that the content of your site is relevant to what people are searching for. They are essentially used for defining and describing data about data, and are used to add extra information to the data inside the webpage. You use the head tag to add a title to the webpage, link to a CSS stylesheet, and define more information about the HTML document. The head tag is used for configurating the HTML file. Meta tags live within the head tag of the HTML document. This article will focus on explaining the basics of meta tags and why they are used in HTML documents. What are these meta tags exactly? Why are they there and what purpose do they serve when creating a webpage?
Final draft tagger clear element code#
Le'ts zoom in to the following section of the code that was created: html file in the browser of your choice, you'll see just an empty page. You'll then see the following code filled out:
