How to use HTML Tags in JavaScript - JavaScript Tutorial 04
9.4 هزار بار بازدید -
8 سال پیش
-
Notes for You:: HTML tags
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
How to use HTML Attributes in JavaScr...
Follow the link for previous video:
JavaScript Tutorial 03 - Comments in JavaScript | JavaScript Comments
JavaScript Comments | How to write Co...
=========================================
JavaScript Tutorials Playlist:-
JavaScript Tutorials
=========================================
Watch My Other Useful Tutorials:-
jQuery Tutorials Playlist:-
jQuery Tutorials
jQuery UI Tutorials Playlist:-
jQuery UI Tutorials
Bootstrap Tutorials Playlist:-
Bootstrap Tutorials
=========================================
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:-
chidrestechtutorials
Join as member of our YouTube channel:-
https://www.youtube.com/chidrestechtu...
Become our Patron:-
Patreon: chidrestechtutorials
Visit our Website:-
https://www.chidrestechtutorials.com
Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstam...
Buy our Products on Spring:-
https://chidres-tech-tutorials.creato...
=========================================
Follow us:-
Google My Business:-
https://chidrestechtutorials.business...
Google Blog:-
http://manjunathchidre.blogspot.com
LinkedIn:-
LinkedIn: chidrestechtutorials
Facebook:-
Facebook: chidrestechtutorials
Twitter:-
Twitter: ManjunathChidre
Tumblr:-
Tumblr: chidrestechtutorials
Pinterest:-
Pinterest: chidrestechtutorials
=========================================
Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.
=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
- 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
How to use HTML Attributes in JavaScr...
Follow the link for previous video:
JavaScript Tutorial 03 - Comments in JavaScript | JavaScript Comments
JavaScript Comments | How to write Co...
=========================================
JavaScript Tutorials Playlist:-
JavaScript Tutorials
=========================================
Watch My Other Useful Tutorials:-
jQuery Tutorials Playlist:-
jQuery Tutorials
jQuery UI Tutorials Playlist:-
jQuery UI Tutorials
Bootstrap Tutorials Playlist:-
Bootstrap Tutorials
=========================================
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:-
chidrestechtutorials
Join as member of our YouTube channel:-
https://www.youtube.com/chidrestechtu...
Become our Patron:-
Patreon: chidrestechtutorials
Visit our Website:-
https://www.chidrestechtutorials.com
Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstam...
Buy our Products on Spring:-
https://chidres-tech-tutorials.creato...
=========================================
Follow us:-
Google My Business:-
https://chidrestechtutorials.business...
Google Blog:-
http://manjunathchidre.blogspot.com
LinkedIn:-
LinkedIn: chidrestechtutorials
Facebook:-
Facebook: chidrestechtutorials
Twitter:-
Twitter: ManjunathChidre
Tumblr:-
Tumblr: chidrestechtutorials
Pinterest:-
Pinterest: chidrestechtutorials
=========================================
Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.
=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
8 سال پیش
در تاریخ 1395/07/26 منتشر شده
است.
9,454
بـار بازدید شده