Which is the correct file extension for a web page?

Enhance your coding skills with our Web Development 201 Quiz. Practice with multiple-choice questions and find detailed explanations for each question. Ace your web development exam!

The correct file extension for a web page is .html. This stands for HyperText Markup Language, which is the standard language used to create and design documents on the World Wide Web. Files with the .html extension can be opened in web browsers, allowing them to render the content and layout defined by the HTML code.

When a user accesses a web page, the browser interprets the .html file, converting the markup into a visual display that can include text, images, links, and other multimedia elements. This file extension is widely recognized and is fundamental for web development, as it signifies that the content is intended to be viewed as a structured document on the internet.

In contrast, .txt is a plain text file, which does not support any markup or formatting; .ppt is a file extension associated with Microsoft PowerPoint presentations, and .doc refers to Microsoft Word document files, neither of which are suitable for creating web pages.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy