How to draw a circle in HTML5 SVG?

karthikeya Boyini
Published on 22-Jan-2018 14:45:44
SVG stands for Scalable Vector Graphics and is a language for describing 2D-graphics and graphical applications in XML and the XML is then rendered by an SVG viewer. Most of the web browsers can display SVG just like they can display PNG, GIF, and JPG.To draw a circle in HTML ... Read More

How to use .svg files in a webpage?

Swarali Sree
Published on 22-Jan-2018 12:58:13
The svg files are Scalable Vector Graphics. You can add it to a web page using the <img>, <iframe>, <object> or <embed> tag.The .svg file is to be referenced in the src attribute of the <img> tag. Let’s see how to add it using the <img> tag.You can try to ... Read More

What are the various types of comments in JavaScript?

Prabhas
Published on 05-Jan-2018 16:02:03
Single Line commentThe following is a single line comment in JavaScript. Any text between a // and the end of a line is treated as a comment and is ignored by JavaScript.// This is a comment. It is similar to comments in C++Multi-Line commentThe following is a multi-line comment in ... Read More

Is JavaScript a case sensitive language?

radhakrishna
Published on 05-Jan-2018 15:55:11
JavaScript is a case-sensitive language. This means that the language keywords, variables, function names, and any other identifiers must always be typed with a consistent capitalization of letters.So the identifiers Time and TIME will convey different meanings in JavaScript.NOTE − Care should be taken while writing variable and function names in JavaScript.ExampleThe ... Read More

When should I use a semicolon after curly braces in JavaScript?

varma
Published on 05-Jan-2018 14:42:59
In JavaScript, Semicolons are optional. Simple statements in JavaScript are generally followed by a semicolon character, just as they are in C, C++, and Java. JavaScript, however, allows you to omit this semicolon if each of your statements is placed on a separate line. It is a good programming practice ... Read More

Do I need to use a semicolon after every function in JavaScript?

V Jyothi
Published on 02-Jan-2018 10:17:52
Commonly, adding semicolons in JavaScript is optional. Simple statements in JavaScript are generally followed by a semicolon character, just as they are in C, C++, and Java. JavaScript, however, allows you to omit this semicolon if each of your statements is placed on a separate line.No need of a semicolon ... Read More

Do we need to use semicolons in JavaScript?

varun
Published on 05-Jan-2018 14:38:30
In JavaScript, Semicolons are optional. Simple statements in JavaScript are generally followed by a semicolon character, just as they are in C, C++, and Java. JavaScript, however, allows you to omit this semicolon if each of your statements is placed on a separate line. It is a good programming practice ... Read More

What is the relationship between JavaScript, CoffeeScript, TypeScript, ES5, and ES6?

radhakrishna
Published on 04-Jan-2018 17:14:58
JavaScriptThe base programming language in all these. ES5 and ES6 are just different versions of this languageCoffeeScriptCoffeeScript is a programming language which transcompiles to JavaScript. It’s a compiler layer on top of JavaScript.TypeScriptA language that compiles down to JavaScript. TypeScript is a method to create JavaScript code by writing it ... Read More

What is the difference between JavaScript and ECMAScript?

Sreemaha
Published on 04-Jan-2018 17:05:07
JavaScriptJavaScript was first known as LiveScript, but Netscape changed its name to JavaScript, possibly because of the excitement being generated by Java. JavaScript made its first appearance in Netscape 2.0 in 1995 with the name LiveScript. The general-purpose core of the language has been embedded in Netscape, Internet Explorer, and ... Read More

Where is JavaScript Today?

varun
Published on 04-Jan-2018 16:51:17
The 8th edition, known as ECMAScript 2017, is the current JavaScript version, released in June 2017. JavaScript is a dynamic computer programming language.JavaScript It is lightweight and most commonly used as a part of web pages, whose implementations allow a client-side script to interact with the user and make dynamic ... Read More
Advertisements