answersLogoWhite

0


Best Answer

<tag>...</tag>

For tags that open and close.

Or <selfclosingtag> for tags that don't.

Or <selfclosingtag /> if you're using XHTML

**Note: neither of those are real HTML tags. For the first the paragraph tag <p>The content of the paragraph.</p> is a good example. For the second, <img src="image.jpg" alt="Image"> or <img src="image.jpg" alt="Image" />

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

HTML is a formatting language that tells a browser how to display content. Here is the HTML code for a very basic webpage:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<title>My Web Page</title>

</head>

<body>

<center><h1>Hello World</h1></center>

</body>

</html>

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

The HTML5 Doctype was simplified to simply be (left angle bracket)!DOCTYPE html(right angle bracket)

This answer is:
User Avatar

User Avatar

Wiki User

8y ago

In HTML5, there is no need to put anything other than doctype. A simple one is sufficient.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How the doctype for HTML5 looks like?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What are the five steps involved in migrating from HTML to HTML5?

There is not much in migrating from HTML to HTML5. You have to include the DOCTYPE in the html tag.


What is the significance of DOCTYPE in HTML document?

An HTML DOCTYPE defines which version of the language you are using, and let's the browser act accordingly. The DOCTYPE in an HTML document is an idea borrowed from XML. The DOCTYPE file defines the rules that the language has to follow. By making sure you've declared the doctype in an HTML document, you let the browser know how you're expecting that HTML to be treated. In an ideal environment, adding a doctype will allow you to be sure of exactly how the code will be rendered by the user's browser.


How is HTML5 downloaded?

HTML5 isn't something you download. HTML is the language for creating Web pages and HTML5 is the latest version that is being devised by Web standards organizations. To use HTML5, you can write HTML5 instructions (known as tags) in a text editor, save the text file, and then open the file in a Web browser that supports HTML5. As of January 2011, the major Web browsers such as Internet Explorer, Firefox, Safari, and Chrome are beginning to support HTML5 features. For more information about HTML5, see the Related Link.


How do you know if a program supports HTML5?

You can find out if your browser supports html5 by going to html5test.com


Where should the Doctype be placed on the webpage?

A doctype is a header, so it should be placed at the top of the webpage. When writing HTML for a website, it should be placed directly above the tag.

Related questions

What are the five steps involved in migrating from HTML to HTML5?

There is not much in migrating from HTML to HTML5. You have to include the DOCTYPE in the html tag.


What are the development will made in html5?

By using the Html5 lot of development can be made like HTML5 mobile apps,html5 mobile websites,html5 mobile template,html5 mobile boilerplate work, html5 mobile games,html5 mobile forms


What are the Features of html5?

Html5 is the recent version of HTML. It has got elements like audio and video.


What does DOCTYPE mean?

The term DOCTYPE tells the browser which type of HTML is used on a webpage. In turn, the browsers use DOCTYPE to determine how to render a page. Failing to use DOCTYPE or using the wrong DOCTYPE may load your page in Quirks Mode. AchieversIT Training Institute.


What is the significance of DOCTYPE in HTML document?

An HTML DOCTYPE defines which version of the language you are using, and let's the browser act accordingly. The DOCTYPE in an HTML document is an idea borrowed from XML. The DOCTYPE file defines the rules that the language has to follow. By making sure you've declared the doctype in an HTML document, you let the browser know how you're expecting that HTML to be treated. In an ideal environment, adding a doctype will allow you to be sure of exactly how the code will be rendered by the user's browser.


Are Google Chrome can support html5?

Yes, Chrome can support HTML5. HTML5 is the latest version of HTML and has many features.


Is html5 support all browsers?

Most browsers support HTML5. However not all of them. You can check the HTML5 compatibility by running the html5test.


How is HTML5 downloaded?

HTML5 isn't something you download. HTML is the language for creating Web pages and HTML5 is the latest version that is being devised by Web standards organizations. To use HTML5, you can write HTML5 instructions (known as tags) in a text editor, save the text file, and then open the file in a Web browser that supports HTML5. As of January 2011, the major Web browsers such as Internet Explorer, Firefox, Safari, and Chrome are beginning to support HTML5 features. For more information about HTML5, see the Related Link.


How do you install HTML5 on y?

Html5 is not installed anywhere. It is coded and browser compiles it.


What are the biggest problems with HTML5?

HTML5 is the recent development in HTML. It does not support old browsers.


How do you know if a program supports HTML5?

You can find out if your browser supports html5 by going to html5test.com


How do you play videos in youtube using Mozilla Firefox?

Just like any other browser, you'd need to have Adobe Flash or the ability to use the HTML5 player. Once on the video page, just hit the button in the video player that looks like a play button.