Select the correct answer.

What happens when you try to save a file created using a plain text editor with the .html extension?

A. You see an error because you're saving a text file as an HTML file.
B. The file gets saved as an HTML file, but it can only be opened in a text editor.
C. The file gets saved as an HTML file, and it can be opened in a web browser.
D. The file gets saved as a text file, but it can be opened in a web browser.

Answer :

option D is the correct answer: The file gets saved as a text file, but it can be opened in a web browser, depending on its content.

How does this happen?

If you save a file created using a plain text editor with the ".html" extension, the file will be saved as an HTML file. However, whether it can be opened in a web browser or not depends on the content of the file and how it is written.

If the file contains valid HTML code, then it can be opened in a web browser and will display as a webpage.

However, if the file does not contain valid HTML code, the web browser may not be able to interpret it correctly and may display an error message.

Read more about html here:

https://brainly.com/question/4056554

#SPJ1