How does commenting in HTML differ from XML?
- Both use .
- HTML uses /* */ and XML uses .
- HTML uses // and XML uses .
- HTML uses and XML uses /* */.
Both HTML and XML use the same syntax for commenting, which is . However, the context in which they're used differs. While HTML is primarily used for web content structuring, XML is a markup language that defines rules for encoding documents in a format that both humans and machines can read.
Loading...
Related Quiz
- How would you implement smooth scrolling to anchors within a webpage using HTML and CSS?
- The ______ element is used to define an image map.
- What is the purpose of the title element within the head section?
- How does the "colspan" attribute affect the structure of a table?
- How would you implement lazy loading for images within the body section to enhance the page load speed, especially for users with slow internet connections?