Podcast Beta
Questions and Answers
The document.write() syntax creates new text on the web page followed by a line break.
False
The \ escape sequence represents a single quotation mark.
False
HTML tags can be inserted in JavaScript using the alert() function.
False
The escape sequence represents a horizontal tab.
Signup and view all the answers
The document.writeln() syntax creates new text on the web page without adding a line break.
Signup and view all the answers
What is the difference between the document.writeln()
and document.write()
syntaxes?
Signup and view all the answers
What is the purpose of an escape character in JavaScript?
Signup and view all the answers
How can HTML tags be inserted in JavaScript?
Signup and view all the answers
What is the escape sequence for a new line?
Signup and view all the answers
What is the purpose of the alert()
function?
Signup and view all the answers