WebStorm 2016.3 Help

Editing HTML Files

WebStorm enables you to create HTML files, and edit them.

When a file is opened for editing, you can drag a JavaScript or CSS file into the opened HTML file. WebStorm will automatically create a script or a link tag inside the <head> tag.

Same way, you can drag an image to add an img tag with the width and height attributes anywhere inside the <body> tag.

/help/img/idea/2016.3/drag_to_html.png

See Also

Last modified: 1 December 2016