Web Design HTML Interview Questions & Answers

Sharag's Tech Interview HELP

Web Design HTML Interview Questions & Answers

1) Intrepret this statement: <strong>Michelle</strong>
a) It makes Michelle strong
b) It highlights Michelle as being strong
c) It will print out Michelle in bold font – correct answer

2) Tables can be nested (table inside of another table).
a) True – correct answer
b) False

3) Which is correct?
a) <b>Click Here<b>
b) <strong>Click Here<strong>
c) <b>Click Here</b> – correct answer
d) </strong>Click Here</strong>

4) Which of the following is a two sided tag?
a) DT
b) LI
c) DD
d) DL – correct answer

5) The Browser applies the feature of a tag until it encounters_____tag.
a) Quit
b) Closing – correct answer
c) Exit
d) Anti
e) Deactivate

6) _______are the HTML codes that control the apearance of the document contents
a) Tags – correct answer
b) Codas
c) Slashes
d) Properties
e) Code

7) What are the genral syntax…

View original post 509 more words

Advertisements

HTML, CSS & JavaScript Web Designer or Web Developer Interview Questions

Sharag's Tech Interview HELP

HTML, CSS & JavaScript Web Designer or web Developer Interview Questions

HTML Web Standards Interview Question

 

What is a DTD? What DTD do you generally use? Why? Pros and cons.

A DTD is a Document Type Definition, also know as DOCTYPE. In a document served as text/html, the DOCTYPE informs the browswer how to interpret the content of the page. If the the doctype is not declared, the browser assumes you don’t know how to code, and goes into “quirks mode”. If you know what you are doing and include a correct XHTML DOCTYPE, your page will be rendered in “standards mode”.

Accessibility Interview Question

Importance in selecting font size for a web page?

Font sizes should be declared using relative measurement values, such as ems, via a style sheet, without the use of the term !important. There are issues with browser font size enlarging which can be…

View original post 1,005 more words

Interview Questions UI(User Interface) Developer

LD Opensource

JavaScript

How to create a cookie through Jvascripts?

What is a Cookie?

A cookie is a variable that is stored on the visitor’s computer. Each time the same computer requests a page with a browser, it will send the cookie too. With JavaScript, you can both create and retrieve cookie values.

Examples of cookies:

  • Name cookie – The first time a visitor arrives to your web page, he or she must fill in her/his name. The name is then stored in a cookie. Next time the visitor arrives at your page, he or she could get a welcome message like “Welcome John Doe!” The name is retrieved from the stored cookie
  • Date cookie – The first time a visitor arrives to your web page, the current date is stored in a cookie. Next time the visitor arrives at your page, he or she could get a message like “Your last…

View original post 5,245 more words

UI(User Interface) developmet Interview Questions with Answers which are mostly asked.

LD Opensource

How to create a JQuery Plugin?

JQUERY PLUGIN

(function($) {

$.fn.helloWorld = function( options ) {

// Establish our default settings

var settings = $.extend({

text         : ‘Hello, World!’,

color        : null,

fontStyle    : null

}, options);

        return this.each( function() {        $(this).text( settings.text );     if ( settings.color ) {        $(this).css( 'color', settings.color );    } 
    if ( settings.fontStyle ) {        $(this).css( 'font-style', settings.fontStyle );    }});

}

}(jQuery));

$('h2').helloWorld({    text        : 'Salut, le monde!',    color       : '#005dff',    fontStyle   : 'italic'});

What are the DOCTYPE Declaration?

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

<html xmlns=”http://www.w3.org/1999/xhtml”>

XHTML 1.0 Strict

This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML.

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>

XHTML…

View original post 2,253 more words

JQuery Question and Answers Part-II.

LD Opensource

What is Jquery?

JQuery is Java Script library or Java Script Framework which helps in how to traverse HTML documents, do some cool animations, and add Ajax interaction to any web page. It mainly helps programmer to reduce lines of code as huge code written in Java Script, can be done easily with JQuery in few lines.

What does dollar Sign ($) means in JQuery?

Dollar Sign is nothing but it’s an alias for JQuery. Take a look at below jQuery code

$(document).ready(function(){

 

});

 

 

Over here $ sign can be replaced with “jQuery ” keyword.

jQuery(document).ready(function(){

 

});

How is body onload() function is different from document.ready() function used in jQuery?

1. We can have more than one document.ready() function in a page where we can have only one onload function.

2. Document.ready() function is called as soon as DOM is loaded where body.onload() function is called…

View original post 4,067 more words

JQuery Interview Questions and Answers.

LD Opensource

What is Jquery?

JQuery is Java Script library or Java Script Framework which helps in how to traverse HTML documents, do some cool animations, and add Ajax interaction to any web page. It mainly helps programmer to reduce lines of code as huge code written in Java Script, can be done easily with JQuery in few lines.

For detailed information, check below link.

Click below link to get mostly asked jQuery interview question.

What does dollar Sign ($) means in JQuery?

Dollar Sign is nothing but it’s an alias for JQuery. Take a look at below jQuery code
$(document).ready(function(){

});

Over here $ sign can be replaced with “jQuery ” keyword.
jQuery(document).ready(function(){

});

Click below link to get mostly asked jQuery interview question.

How is body onload() function is different from document.ready() function used in jQuery?

Document.ready() function is different from body onload() function because off 2 reasons.

1. We…

View original post 3,843 more words

HTML5 and CSS3 Interview Questions & Answers for UI Development.

LD Opensource

HTML5 interview questions and Answers:

What is SVG and advantages of SVG?

SVG is a language for describing two-dimensional vector graphics in XML.

SVG stands for Scalable Vector Graphics
SVG is used to define vector-based graphics for the Web
SVG defines the graphics in XML format
SVG graphics do NOT lose any quality if they are zoomed or resized
Every element and every attribute in SVG files can be animated
SVG is a W3C recommendation

Code Example:

<?xml version=”1.0″ standalone=”no”?>
<!DOCTYPE svg PUBLIC “-//W3C//DTD SVG 1.1//EN”
“http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd”&gt;

<svg xmlns=”http://www.w3.org/2000/svg” version=”1.1″>
<circle cx=”100″ cy=”50″ r=”40″ stroke=”black”
stroke-width=”2″ fill=”red” />
</svg>

Advantages:

Advantages of using SVG over other image formats (like JPEG and GIF) are:

SVG images can be created and edited with any text editor
SVG images can be searched, indexed, scripted, and compressed
SVG images are scalable
SVG images can be printed with high quality at any resolution

View original post 5,422 more words