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.........!
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>
HTML tags mostly have an opening and a closing tag. It is because of the basic structure of HTML, how it was made.
Container tag
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
The frontslash tag. For example, here it is used in the bold tag. <b>Bold text</b>
In HTML, all tags are elements and all HTML elements other than empty elements and <p> elements require a start and end tag to delimit the element's content. The <br> tag is an example of an empty element (there is no </br> tag). However, an empty element can also be closed by the start tag, such that <br /> is acceptable (<br /> is a requirement of XHTML but not HTML).
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
Every HTML tag starts with a less-than sign, as shown below.
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
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
The frontslash tag. For example, here it is used in the bold tag. <b>Bold text</b>
To cancel or end an <html> tag you simply type </html>.
In HTML, all tags are elements and all HTML elements other than empty elements and <p> elements require a start and end tag to delimit the element's content. The <br> tag is an example of an empty element (there is no </br> tag). However, an empty element can also be closed by the start tag, such that <br /> is acceptable (<br /> is a requirement of XHTML but not HTML).
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
Every HTML tag starts with a less-than sign, as shown below.
An HTML end tag example the end tag to the <header> would be: </header>
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.
A basic HTML tag shoould in clude a start and end tag for example to make text you have 2 tags <p>text goes here</p> the slassh means end tag. that is if you have a tag with lots of stuff. but if you have a tag like<body bgcolor="#000000">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 <p>text goes here</p> the slassh means end tag. that is if you have a tag with lots of stuff. but if you have a tag like<body bgcolor="#000000">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.
The very last tag should be the closing HTML tag. It would be done like this: </html> Before that you would normally close the Body tag, like this: </body>
You have to close everything with another tag such as openingtag:<marquee> closingtag:</marquee>.