UrbanPro
true

Learn Angular.JS from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Embedding and including

Masroor Ahmad
19/01/2017 0 0

Let's first see a simple example: 

This is a JavaScript example

Usually, JavaScript code starts with the tag . The code placed between  and . Sometimes, people embed the code in the  tags:

Why do we place JavaScript code inside comment fields ? It's for ensuring that the Script is not displayed by old browsers that do not support JavaScript. This is optional, but considered good practice. The LANGUAGE attribute also is optional, but recommended. You may specify a particular version of JavaScript:

For example, shown below is the code of the external file hello.js:

document.write("Hello World!")

The external file is simply a text file containing JavaScript code with the file name extension ".js". Note:

  1. Including an external file only functions reliably across platforms in the version 4 browsers.
  2. The code can't include tags, or you will get an error message.
0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Angular Interview Questions
Ques: Explain the bootstrapping process of angular? Ques: Define the architecture of angular? Ques: What is component? Can you write syntax of decorator for any component? Ques: - Say me the name of...

A Guide To Become A Full-Stack Developer
Full-Stake Web Development, according to the Stack Overflow 2016 Developer Survey is the most popular developer occupation today. It’s no wonder then that there are dozens of online and in-person...

Best way to learn any software Course
Hi First conform whether you are learning from a real time consultant. Get some Case Studies from the consultant and try to complete with the help of google not with consultant. Because in real time same situation will arise. Thank you

Why Angular JS?
Interactive Web Application HTML and CSS are not interactive. You cannot create interactive applications using HTML and CSS. JavaScript allows you to interact with a web page like clicking a button,...
P

Mind, Body and Soul
When there is harmony there is synchronisation, when there is synchronisation tasks just flow one after the other in relaxed and orderly fashion, the root to all this synchronisation and the root to synchronisation...
X

Looking for Angular.JS Classes?

The best tutors for Angular.JS Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Angular.JS with the Best Tutors

The best Tutors for Angular.JS Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more