Web Development Articles - Page 954 of 1049

How to use the

What are the different tags to define special meta information in HTML page?

Lokesh Badavath
Updated on 19-Oct-2022 07:09:39

541 Views

Metadata means information about data. The tag in HTML provides complete information about HTML Document. Adding the meta tag while making the webpage or website is a good practice because search engines use this meta tag to understand the information about the website. It is also helpful while searching for a specific website, then the result page will display in search results. These tags are basically used to add author name, value pairs to describe properties of HTML documents, such as expiry date, author name etc. i.e.., it is used to specify a character set, page description and viewport ... Read More

How to use the tag to define a relationship to an external resource?

Johar Ali
Updated on 04-Oct-2019 11:59:36

246 Views

The tag is used in HTML to define a relationship to an external resource. It is used to link external style sheets. It gets added inside the … tag, but does not have a closing tag. Define your external CSS file in it.The CSS file created separately will have all the CSS code inside it. The href attribute adds the css file link.You can try to run the following code to include external CSS in HTML. The HTML file is here, with a link to CSS file style.cssExampleLive Demo                 ... Read More

How to create a valid HTML document with no element?

Amit Sharma
Updated on 04-Oct-2019 11:58:09

473 Views

With HTML, the essentials are doctype declaration, and . But, you will be amazed to know that a valid HTML document can work without the element. The doctype declaration will come always since it tells and instructs the browser about what the page is about.Let’s see an example; here we won’t use the tag. Still, the HTML Document is valid and will work correctly like any other valid HTML DocumentExampleLive Demo    Title of the document           This is heading 1       This is demo text.    

What is the basic minimal structure of HTML document?

Ali
Ali
Updated on 07-Oct-2019 07:52:39

2K+ Views

HTML document is a web page, which helps you in showing content on the website. It consists of tags, which has an opening as well as closing tags. However, some tags do not come in pairs i.e. they do not have a closing tag. The basic minimal structure also has some tags, which you need to add.doctypeThis is a doctype declaration, which begins the HTML program and gets added as . It is added to tell and instruct the browser about the document.

How to use the