Posts

Showing posts from January, 2017
HTML Interview Question and Answer Difference between HTML tags and elements? HTML tag is just opening or closing entity.  Example: <p>  and  </p>  are called HTML tags. HTML element encompasses opening tag, closing tag, content (optional for content-less tags)   Example: <p>This is the content</p>  : This complete thing is called a HTML elements.
JavaScript Interview Question and Answer Question:- Give a example of  using jQuery and JavaScript respectively : Answer:-                   jQuery                    $('body').css('background','#ccc');                   JavaScript                    function changBackground(color)                    {                    Document.body.style.background = color;                    Onload="changeBackground('green');" Question:- What is the DOM? Answer:-   The DOM is a W3C (World Wide Web Consortium) standard.                   The DOM defines a standard for accessing d...