• +91 9723535972
  • info@interviewmaterial.com

CSS Interview Questions and Answers

Related Subjects

Question - what CSS is, why not start coding?

Answer - CSS is sort of like scripting language made for the web. In contrary with HTML, DHTML, JavaScript, VBScript and many others. CSS is strictly for formatting your web-page and now many new browser support it. (NOTE: Older browser do not support CSS, so please check your browser version and make sure whether it supports it or not. You may have to update your current Browser.) The way the code goes into your Web-page is through a variety of ways. The way CSS works is that is the code is set between the tags. You can put the CSS code after which is what most people do. Now, here are the following ways of making your webpage with CSS enabled features: 1.) Writing your CSS code within your HTML source code. This is how it would look like: My First CSS! 2.) Linking to your CSS file. This tells the webpage to find the .css file and use it as the CSS code. Here is the code that would allow you to do: CSS As you can see from the code above, the tag is pretty helpful. What it does is that it links to the style.css file which has all the css code. Just like embedding an image throught he tag. Now to explain a bit from the first example. CSS code isn't very hard to understand.Take for example the body { ..} part. What it does is that it formats how the tag in HTML would work. That is a very

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners