How to use HTML Tags in JavaScript – JavaScript Tutorial 04

Notes for You:: HTML tags in Java Script:
– We can directly insert HTML tags in between double quotations as part of the JavaScript strings to generate desired html structure.

Example Code:
<script type=”text/javascript”>

document.write(“Hello <b>World!</b><br/>”);
document.write(“Hello <u>World!</u><br/>”);
document.write(“Hello <b><u>World!</u></b><br/>”);
document.write(“Hello World!<br/>”);
document.write(“Hello World!<br/>”);

</script>

Note:
– replace < with less-than symbol
– replace > with greater-than symbol

=========================================

Follow the link for next video:
JavaScript Tutorial 05 – How to use HTML attributes in JavaScript

Follow the link for previous video:
JavaScript Tutorial 03 – Comments in JavaScript | JavaScript Comments

=========================================

JavaScript Tutorials Playlist:-

=========================================
Watch My Other Useful Tutorials:-

jQuery Tutorials Playlist:-

jQuery UI Tutorials Playlist:-

Bootstrap Tutorials Playlist:-

=========================================

HI, I am Manjunath Chidre and I’m an Indian born. I make video tutorials on Computer Science, Information Technology, Animation, VFX, Multimedia, & Gaming courses. Essentially, I set my goal to help students around the world; to learn at free of cost; through my educational YouTube channel Chidre’sTechTutorials.

=========================================

Every video on my channel is made with Love and Hard work, So don’t forget to Like, Comment & Share.
Please do Subscribe, Hit the bell icon & Enjoy Learning. It’s FREE.

=========================================

Subscribe to our YouTube channel:-
https://www.youtube.com/chidrestechtutorials

Join as member of our YouTube channel:-
https://www.youtube.com/chidrestechtutorials/join

Become our Patron:-
https://www.patreon.com/chidrestechtutorials

Visit our Website:-
https://www.chidrestechtutorials.com

Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstamojo.com

Buy our Products on Spring:-
https://chidres-tech-tutorials.creator-spring.com

=========================================
Follow us:-

Google My Business:-
https://chidrestechtutorials.business.site

Google Blog:-
http://manjunathchidre.blogspot.com

LinkedIn:-
https://www.linkedin.com/company/chidrestechtutorials

Facebook:-
https://www.facebook.com/groups/chidrestechtutorials

Twitter:-

Tumblr:-
https://chidrestechtutorials.tumblr.com

Pinterest:-

=========================================

Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.

=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial

You May Also Like