English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

4 answers

Javascript can write HTML code into your document with the document.write('') instruction. In between the single quotes would be the HTML code.

Otherwise, previous answer correct, they're two different things.

2006-09-07 17:13:44 · answer #1 · answered by speakeasy 6 · 1 0

you're taking a class and you are able to desire to study Javascript? Then do no longer ask for an entire answer. Your instructor will in all probability be able to tell beginner code from expert code. All you are able to desire to do is study the thank you to jot down a loop and use an "if" assertion with a modulus operator.

2016-09-30 11:11:23 · answer #2 · answered by ? 4 · 0 0

... You don't.
HTML is just for layout design while Javascript actually allows dynamic actions to occur. Javascript is a scripting tool while HTML is a set of tags.

2006-09-07 17:11:10 · answer #3 · answered by Robin C 4 · 1 0

HTML and JS are both different languages. You cant convert them with each other to do what both are doing separately.

2006-09-07 17:13:20 · answer #4 · answered by DESIGNWebGraphic.Com 3 · 1 0

fedest.com, questions and answers