answersLogoWhite

0


Best Answer

For two-sided HTML tags, the general syntax is the tag name, any attributes, the tags content, and then the closing tag. Like so:

<tag attribute="value">Tag Contenttag>

Some attributes are optional. Others are required. It depends entirely on which tag you're using.

User Avatar

Wiki User

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

Wiki User

15y ago

There is not really a one-sided tag, but rather there are empty tags and container tags. A container tag has an opening tag and a closing tag - like p or h1, or body, or html. There is the opening tag in brackets, and the closing tag in brackets, but with the forward slash (/) just inside the beginning of the closing tag. "Empty" tags however do not have a closing tag- there is nothing for them to "contain" so they stand alone. Examples include img, meta, frame, br, hr, etc... According to xhtml these tags must still be closed, and they are done so by including a forward slash at the END of the tag, just inside the brackets (so <hr /> <br /> <img src = "somepic.jpg" />, etc..).

This answer is:
User Avatar

User Avatar

Wiki User

15y ago

Two-Sided Tags

Placing these tags around words makes the words bold

This answer is:
User Avatar

User Avatar

MaKe it

Lvl 2
3y ago

Tags are surrounded. by angle brackets

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the general syntax for two sided HTML tags?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Are HTML tags and syntax the same?

No. Syntax is/are the rules of the language, tags are part of the syntax.


Benefits of using HTML?

The main benefit of using HTML is its easy syntax. The tags are very powerful to use.


How is the HTML document used for making a hyperlink?

Correct syntax for creating a hyperlink in HTML is &lt;a href="the_file_name_link.html"&gt;This is a link&lt;/a&gt;


In HTML double sided tags what distinguishes the ending tag from the beginning tag?

PR


What does HTML contain?

By contain I assume you mean the Syntax (Words), it is made up of tags such as and closing tags such as , also attributes such as to learn more about this visit http://w3schools.com/


what are the things to be taken into account before begin to create HTML documents?

The thing taken into account should be the syntax of the code. The syntax of the tags should be correct or it will not reflect back.


What are two-sided tags?

A two-sided tag is one that has an opening tag and a closing tag, such as &lt;a&gt; and &lt;/a&gt;. This is in contrast to other tags, like &lt;br&gt; and &lt;img&gt;, which do not need closing tags.


Is XML an advanced version of HTML?

As a programmer, processing pure XML is easier that HTML. This is because XML follows a very strict set of standards. HTML (such as HTML 4 or 5) does not. For instance, all XML tags close, either by a closing pair, or a "self-closing" tag. e.g.: &lt;tag&gt;&lt;/tag&gt; Or &lt;tag /&gt; Whereas HTML tags such as line-break and image don't follow the same pattern. &lt;img&gt; &lt;br&gt; By adhere to stricter rules, XML is easier for me to parse.


What are HTML tages?

HTML tags are the predefined tags that are embedded within the "&lt;&gt;". Each HTML tags has the following attributes and operations.


Which tag is been used to add image using HTML?

Adding an image in you site is done by the syntax below:put this code between the body tags


What are the requirements for valid XHTML coding syntax?

The requirement for a valid XHTML is that all the tags should be closed. This is actually the difference between HTML and XHTML.


What are built-in tags Like for HTML and CSS?

No tags are used in CSS. Tags are actually what CSS primarily styles.