HTML – Hyper Text Markup Language is an essential language for creating webpages and web applications. It helps us to create innovative web pages of the websites. Look and feel is one of the important module for developers.As the famous proverb says first impression is the last impression.So,as the owner of the website if you want to spread your business on high level and attract more users(customers) then you must need to build an outstanding design..HTML serves you this opprtunity with the help of CSS – Cascading Style Sheet .You need CSS which gives style to your HTML structure.
HTML = structure
CSS = style
Few most used HTML tags :
html, body, div, span, iframe,
h1, h2, h3, h4, h5, h6, p, address,form, label,
table, tbody, tfoot, thead, tr, th, td,footer, header, section, audio, video
Three types of css:Inline ,Internal and External
Use External css as profesional
CSS Syntax & Selectors
The element Selector:the tag itselt
By the following css ,the red color will apply to all h1 tags throught the page.
The id Selector
id can be used only once in a page.
to select an element with specific id ,write # in front of element(#abc).
The class Selector
class can be used multiple times in a page or in webiste.
to select an element with specific class ,write (.) in front of element(.xyz).
HTML5 and CSS3 had made possible and easier to code for developer .
SASS and LESS are the powerful css entensions and can easily convert your existing css files having .css file extension to .scss or .less.