How to include the HTML tag inside the javascript tags?
Answers were Sorted based on User's Feedback
Answer / r.deepe
by using document.writeln() function we can use HTML tags
| Is This Answer Correct ? | 5 Yes | 1 No |
<script type="text/javascript">
document.write("<h1>Hi</h1>");
</script>
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / kapil
write html tag within double courts to include html in java script
| Is This Answer Correct ? | 4 Yes | 9 No |
How can you convert the string of any base to integer in JavaScript?
if the two text boxes are there i want assign the vales like 2&3 and if i select button means i want find the sum.this is client side scripting in javascript
How to create arrays in javascript?
Is client side front end?
Does javascript support automatic type conversion, if yes give example.
Why do we need currying?
What will be the output of the following code? //nfe (named function expression) var Foo = Function Bar() { return 7; }; typeof Bar();
Can you explain about screen object?
What is difference between java and javascript?
What are the benefits of learning javascript?
What is the use of decodeuri() and encodeuri()?
How to get value from a textbox?