answersLogoWhite

0


Best Answer

this both are main to start and end the HTML code

<HTML>

<head>

<title>only title</title>

</head>

<hr>

<h2> Hello Friends have a nice day</h2>

<hr>

</HTML>

.. later save it has anyname.HTML and run in any browser

for more tags or any thing related HTML and css, plz send a mail to "silly.thinking@gmail.com" i will send the code to ur mail back with in 24 hrs

thks:-)

bye.........!

User Avatar

Wiki User

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

Wiki User

11y ago

Depends on the element. In general, a tag starts with a less than sign, and followed by the specific token that identifies the tag type, and ends with a greater than sign.

Some elements require one tag, some require two (one to open the element, one to close it.)

There are two types of elements in HTML. The first element is an "empty" element, meaning all the necessary data contained by the element is contained within the attributes of the element. A good example of the empty element is the image element:

<img src="a.png" alt="A">

Most other elements contain data. For instance, the paragraph element.

<p>Lorem ipsum dolere.</p>

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

HTML tags mostly have an opening and a closing tag. It is because of the basic structure of HTML, how it was made.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Container tag

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you start and end a tag in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is a simple code that provides details 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


What character is used to indicate an end tag in HTML?

The frontslash tag. For example, here it is used in the bold tag. &lt;b&gt;Bold text&lt;/b&gt;


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 first tag in every HTML document?

The HTML document begins,and ends with the tag . The element defines the whole HTML document. The element has a start tag and an end tag The Start element Tags within the HTML tags begins the content to be displayed for the web page (end body tag) The basic Tags needed to start an HTML document (and must be ended) look like this: This is where the content goes


What character does every tag in HTML start with?

Every HTML tag starts with a less-than sign, as shown below.

Related questions

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


What is a simple code that provides details 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


What character is used to indicate an end tag in HTML?

The frontslash tag. For example, here it is used in the bold tag. &lt;b&gt;Bold text&lt;/b&gt;


How do you cancel HTML?

To cancel or end an &lt;html&gt; tag you simply type &lt;/html&gt;.


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 first tag in every HTML document?

The HTML document begins,and ends with the tag . The element defines the whole HTML document. The element has a start tag and an end tag The Start element Tags within the HTML tags begins the content to be displayed for the web page (end body tag) The basic Tags needed to start an HTML document (and must be ended) look like this: This is where the content goes


What character does every tag in HTML start with?

Every HTML tag starts with a less-than sign, as shown below.


The browser applies the feature until it encounters what tag?

An HTML end tag example the end tag to the &lt;header&gt; would be: &lt;/header&gt;


What HTML tag is used to mark the top of the page?

The first tag you use when developing an HTML document is the tag. The first tag you use for the main content of your page is the tag. is the tag that marks the top of an HTML page. The minimum required first like is , which starts the definition of the page content.


What are the minimum requirements for an HTML tag?

A basic HTML tag shoould in clude a start and end tag for example to make text you have 2 tags &lt;p&gt;text goes here&lt;/p&gt; the slassh means end tag. that is if you have a tag with lots of stuff. but if you have a tag like&lt;body bgcolor="#000000"&gt;you don't need that. just put lesstan sighn, what tag does, greater than sighn. you also need info on what the tag does. for example in the body bgcolor tag above you type what you want the tag to do, than type = and put qoutation marks before and after the info. A basic HTML tag shoould in clude a start and end tag for example to make text you have 2 tags &lt;p&gt;text goes here&lt;/p&gt; the slassh means end tag. that is if you have a tag with lots of stuff. but if you have a tag like&lt;body bgcolor="#000000"&gt;you don't need that. just put lesstan sighn, what tag does, greater than sighn. you also need info on what the tag does. for example in the body bgcolor tag above you type what you want the tag to do, than type = and put qoutation marks before and after the info.


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;


Which HTML tag does not use as an end tag?

You have to close everything with another tag such as openingtag:&lt;marquee&gt; closingtag:&lt;/marquee&gt;.