हिंदी

What is the difference between container tags and empty tags?

Advertisements
Advertisements

प्रश्न

What is the difference between container tags and empty tags?

अंतर स्पष्ट करें
Advertisements

उत्तर

  Container Tags Empty Tags
1. Container tags are pair tags. Empty tags are single tags.
2. They require both a starting tag and an ending tag. They require only a starting tag and no ending tag.
3. They affect the text or content placed between the starting and ending tags. They perform the specific job assigned to them.
4. Example: <p>...</p> Example: <br>, <hr>
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 3: HTML- I: Basic HTML Elements - Assisted Practice [पृष्ठ १२४]

APPEARS IN

सुमिता अरोरा Computer Applications [English] Class 10
अध्याय 3 HTML- I: Basic HTML Elements
Assisted Practice | Q 2. | पृष्ठ १२४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×