Creating Your First JavaScript part 3

Creating Your First JavaScript
30
3/3













Formatting Text
Just like in HTML, we can use HTML tags to format text in JavaScript.
For example, we can output the text as a heading.
Result:
You can output almost everything in the webpage using JavaScript. Many JavaScript frameworks use this to create HTML pages.
Which choice can be added within the text to be displayed?
Comments
Post a Comment