Html interview questions


What is HTML5?
HTML5 is came with some new features. HTML5 is the new standard for HTML, XHTML, and the HTML DOM.
 
Are HTML tags case sensitive?
No nothing like this HTML tags are not case sensitive. You can use any case as your wish.
 
What do you understand about? CSS and How many kind of CSS we use?
Full form of CSS is? Cascading?Style?Sheets. If you are a designer (HTML/CSS Developer) than you must have good command on CSS.
You can say CSS i just like as blood in human body. CSS define?how to display?HTML elements
There are three types of CSS we can use….
  • Inline style sheet —: We use inside the HTML element
  • Internal style sheet – : We use inside the HTML page using <style></style> tag
  • External style sheet : – Separate file or external file
 
 
What is DHTML?
DHTML is a combination of HTML, XHTML, Javascript, Jquery and CSS , We use DHTML for? making dynamic and interactive web pages.
 
 
What is XML?
XML stands for extensible?Markup?Language. Basically XML is designed to transport and store data.
 
 
As you see sometimes we use 'clear" , Why we use ?clear ?in HTML?
It play a important role if we are using many
accordingly. Basically We use the clearance in HTML code for separating the content from one
content after floating the position of other
content.
 
 
How to create? an e-mail link on given text in HTML?
<a href=?mailto:abc@com?>abc<a/>
 
Can we call external CSS file if yes that How can we call the external style sheet?
<link rel=?stylesheet? type=?text/css? href=?mystyle.css?>
 
How do we make a comment inside the? CSS file?
/* include your comment here*/ 
How can we make each word in a text start with a capital letter using CSS?
We can use this property? ?? text-transform: capitalize;
What are? the main difference between css2 and css3?
The main and biggest difference between CSS2 and CSS3 is that CSS3 has been split up into different sections, called modules. Each of these modules is making it?s way through the W3C in various stages of the recommendation process.
 
 
What is the? grouping in CSS?
We can write style for?two or more selectors that share the same style, only we need to?comma separated list of every selector. Grouping is decrease number of line in our code.
 
 
What is difference between margin and padding in CSS ?
Below is the main difference between margin and padding…
Padding – defines space between border and element content
Margin – defines space between border and other outer elements

Comments

Popular posts from this blog

How to write Pure java script Program?