#html
#xhtml
#viral
Confused between the HTML and XHTML?
Here's a quick video to help you understand the difference in the simplest of ways with examples!
HTML (HyperText Markup Language) and XHTML (Extensible HyperText Markup Language) are both markup languages used to create web pages and other documents that can be displayed in a web browser. However, there are a few key differences between the two languages:
Syntax: HTML uses a more relaxed syntax, while XHTML requires stricter adherence to certain rules, such as the use of lowercase tags and the inclusion of closing tags for all elements.
Compatibility: HTML is more compatible with older web browsers and is generally easier to use, while XHTML is designed to be more compatible with newer, more advanced browsers and is more structured and standardized.
Extensibility: XHTML is an extension of HTML, and it allows developers to create their own custom tags and attributes. HTML, on the other hand, is a fixed set of tags and attributes that cannot be extended.
Document type definition (DTD): HTML uses a variety of DTDs, while XHTML uses a single DTD, which is based on XML (Extensible Markup Language).
#css #css3 #bootstrap #bootstrapcourse #javascript #mean #mernstack #react #website #webdevelopment #webdesign #webdeveloper
コメント