Top Web Designing interview questions and answers
Webtechlearning sharing a list of top web designing interview questions answers list 2016. After learning Web Design Course from our institute students mostly search Web Design Interview Questions with Answers for fresher as well as experience. Learning web designing is very easy and interesting but most important thing is company placement which is one of the step after various interview process.
What is website design?
Web design is a process of conceptualizing, planning, and building a collection of electronic files that determine the layout, colors, text styles, structure, graphics, images, and use of interactive features that deliver pages to your site visitors.
1. What is HTML?
- HTML stands for HyperText Markup Language. It is the dominant markup language for creating websites and anything that can be viewed in a web browser. If you want to get some extra bonus points, you can learn the history of HTML and throw in some obscure facts.
2. What is the difference between HTML elements and tags?
- HTML elements communicate to the browser how to render text. When surrounded by angular brackets
<>they form HTML tags. For the most part, tags come in pairs and surround text.
3. What is “Semantic HTML?”
- Semantic HTML is a coding style where the tags embody what the text is meant to convey. In Semantic HTML, tags like
<b></b>for bold, and
<i></i>for italic should not be used, reason being they just represent formatting, and provide no indication of meaning or structure. The semantically correct thing to do is use
<em></em>. These tags will have the same bold and italic effects, while demonstrating meaning and structure (emphasis in this case).
4. What does
- The term
DOCTYPEtells the browser which type of HTML is used on a webpage. In turn, the browsers use
DOCTYPEto determine how to render a page. Failing to use
DOCTYPEor using a wrong
DOCTYPEmay load your page in Quirks Mode. See example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">.
5. What’s the difference between standards mode and quirks mode?
- Quirks Mode is a default compatibility mode and may be different from browser to browser, which may result to a lack of consistency in appearance from browser to browser.
6. What are the limitations when serving XHTML pages?
- Perhaps the biggest issue is the poor browser support XHTML currently enjoys. Internet Explorer and a number of other user agents cannot parse XHTML as XML. Thus, it is not the extensible language it was promised to be. There are many other issues. Take your pick.
7. How many HTML tags are should be used for the most simple of web pages?
- 8 total. 4 pairs of tags.
<TITLE>Simplest page ever!</TITLE>
Doesn’t get simpler than this.
15. How do you make comments without text being picked up by the browser?
- Comments are used to explain and clarify code or to prevent code from being recognized by the browser. Comments start with “
*<!--” and end with ”
<!-- Insert comment here. -->
16. What is the difference between linking to an image, a website, and an email address?
- To link an image, use
<img>tags. You need specify the image in quotes using the source attribute,
srcin the opening tag. For hyperlinking, the anchor tag,
<a>, is used and the link is specified in the
hrefattribute. Text to be hyperlinked should be placed between the anchor tags. Little known fact:
hrefstands for “hypertext reference.” When linking to an email, the
hrefspecification will be
“mailto:firstname.lastname@example.org.”See examples below:
<a href=”email@example.com”>Email Me</a>
17. My hyperlink or image is not displaying correctly, what is wrong with it?
- It could be any number of things, but the most common mistakes are leaving out a tag bracket or quote missing for
alttext may be the issue. You should also verify the link itself.
18. What is the syntax difference between a bulleted list and numbered list?
- Bulleted lists use the
<ul>tag, which stands for “unordered,” whereas
<ol>is used to create an ordered list.
19. What is the difference between
<div>is a generic container element for grouping and styling, whereas a
<frame>creates divisions within a web page and should be used within the
<frameset>tag. The use of
<frameset>are no longer popular and are now being replaced with the more flexible
<iframe>, which has become popular for embedding foreign elements (ie. Youtube videos) into a page.
What is the new
- Instead of typing out a ridiculously long
DOCTYPEstatement to tell the browser how to render your webpage, this long line of code has been truncated to
23. What are some new HTML5 markup elements?
- There are several:
<article>, <aside>, <bdi>, <command>, <details>, <figure>, <figcaption>, <summary>, <header>, <footer>, <hgroup>, <mark>, <meter>, <nav>, <progress>, <ruby>, <rt>, <section>, <time>,and
24. What elements have disappeared?
- As mentioned above,
<frameset>have been eliminated. Other elements that are no longer supported include:
<noframe>, <applet>, <bigcenter>and
25. What are the new media-related elements in HTML5?
- HTML5 has strong support for media. There are now special
<video> tags. There are additional A/V support tags as well:
<embed>is a container for 3rd party applications.
<track>is for adding text tracks to media.
<source>is useful for A/V media from multiple sources.
26. What are the new image elements in HTML5?
- Canvas and WebGL.
27. What is the difference between SVG and
<Canvas>is an element that manipulates two-dimensional (2D) pixels while Scalable Vector Graphics works in 2D and three-dimensional (3D) vectors. Essentially,
<Canvas>is to SVG as Photoshop is to Illustrator.
28. What are some new input attributes in HTML5?
- There are many new form elements including:
datalist, datetime, output, keygen, date, month, week, time, number, range, email, and
29. What are
data- attributes good for?
- The HTML5
data-attribute is a new addition that assigns custom data to an element. It was built to store sensitive or private data that is exclusive to a page or application, for which there are no other matching attributes or elements.
30. What is the difference between HTML5 interaction in Sencha and Twitter/Bootstrap?
31. What purpose do Work Workers serve and what are some of their benefits?
32. Describe the difference between cookies,
- Cookies are small text files that websites place in a browser for tracking or login purposes. Meanwhile,
sessionStorageare new objects, both of which are storage specifications but vary in scope and duration. Of the two,
localStorageis permanent and website-specific whereas
sessionStorageonly lasts as long as the duration of the longest open tab.
33. What are some of the major new API’s that come standard with HTML5?
- To name a few: Media API, Text Track API, Application Cache API, User Interaction, Data Transfer API, Command API, Constraint Validation API, and the History API.
34. What is the difference in caching between HTML5 and the old HTML?