answersLogoWhite

0

There are many of them. The convention now is to add a front slash into the tag, after the tagname and any attributes that might be in them. Examples include:

<hr/>

<br/>

<img src="picture.jpg" />

<input type="text" />

<button />

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Which HTML codes do not require closing?

As far as I know, all HTML codes require a closing tag.


What should be the last command in any HTML document?

The last command in any HTML document is a closing HTML tag. Just before it is the closing BODY tag. &lt;/BODY&gt; &lt;HTML&gt;


Which symbol is used for a closing tag in html?

The front slash is added to a tag, before the tagname, to indicate that it is a closing tag: &lt;html&gt; is an opening tag. &lt;/html&gt; is a closing tag. &lt;title&gt; is an opening tag. &lt;/title&gt; is a closing tag.


Is Slash is used to create a closing tag?

Yes. &lt;FORM&gt; is the opening tag whereas &lt;/FORM&gt; is the closing tag. This &lt;/TAG&gt; to close tags is applicable for most tages. ex: &lt;HTML&gt; &lt;/HTML&gt; &lt;BODY&gt; &lt;/BODY&gt; etc...


What is the difference between p tag and h4 tag?

Tags define elements. The P tag introduces a paragraph. The H4 tag introduces a fourth-level heading. A P element does not require a closing tag in HTML, but does in XHTML.


What is the HTML code to create a space?

Use: &lt;P&gt; new paragraph&lt;/p&gt; or &lt;br&gt;Line break (no closing tag required)


What are 'on' and 'off' tags in HTML documents?

In HTML, all tags are elements and all HTML elements other than empty elements and &lt;p&gt; elements require a start and end tag to delimit the element's content. The &lt;br&gt; tag is an example of an empty element (there is no &lt;/br&gt; tag). However, an empty element can also be closed by the start tag, such that &lt;br /&gt; is acceptable (&lt;br /&gt; is a requirement of XHTML but not HTML).


What is the correct HTML element for inserting a line break?

Correct HTML tag for inserting a line break? you can use &lt;br/&gt;


What happens with tags that don't have a closing tag?

Tags that do not have a closing tag will probably not render. If it's somthing like the &lt;html&gt; tag or the &lt;body&gt; tag, the whole web page may not work.


What are reserved symbols in HTML?

There are various reserved symbols in HTML. &lt;,&gt; these are two reserved for the opening and closing tag.


Which HTML tags do you close out at the very end?

The very last tag should be the closing HTML tag. It would be done like this: &lt;/html&gt; Before that you would normally close the Body tag, like this: &lt;/body&gt;


What is a simple code that provides about HTML elements.?

An HTML element is everything from the start tag to the end tag.An HTML element starts with a start tag / opening tagAn HTML element ends with an end tag / closing tagThe element content is everything between the start and the end tagSome HTML elements have empty contentEmpty elements are closed in the start tagMost HTML elements can have attributesSample CodeHello World