Programming languages

with what extension should i have to save my file when i am using both html and javascript

1 Like

Thank you for responding

Html Or javascript languages are used
Not sure

You will have to use .html extension when you use both html and JavaScript. Note that you can only use JavaScript in a html code by using the script tag or by using the link tag.

1 Like

When you are using html and javascript together, you are basically using html as main and javascript inside it as a script. So you will be using .html extension to save your file.