HTML editor (Editor)

 HTML files are basically just plain text files, so any editing software that can edit plain text can be used as an HTML editor!

For example, Notepad built in Windows; TextEdit built in Mac; or Vim on Linux can be used to write HTML files.

TextEdit is not in plain text mode by default. You must set Format to "Plain Text" in Preferences; then tick "Display HTML files as HTML code instead of formatted text" in "Open and Save".

More advanced editors such as Sublime Text , VS Code , Atom are highly recommended.

Edited file will be saved into a file extension .htmlfile is an HTML files!

So how do you see what the edited HTML page actually looks like? The answer is very simple, just open it with a browser, drag the HTML file to the browser and open it directly, or right-click on the HTML file and choose to open the file with the browser!

You might see a lot of website URL is not .htmlthe end, but in fact the content of these pages are HTML format still Oh, because these pages are not, but through the web server with the file extension through the way of content-type: text/htmltelling the browser header which is An HTML document.

Post a Comment

0 Comments