أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Come on!! you know the answer. CSS makes HTML pretty :P
HTML (Hyper Text Markup Language) is a widely accepted web-design language.
HTML is responsible for the construction, and the total output, of a page.
CSS (Cascading Style Sheets) is another widely-accepted web-design language.
Unlike HTML, CSS does not "create" anything. Instead, it decorates, aligns, and positions (etc) elements in HTML. In a nutshell, CSS takes the normal HTML output and adds a few rules to how it's actually displayed.
Simply put:
Consider HTML as a car without its color and other fancy things that is added to the car, but CSS on the other hand is like a color that a car gets.
From technical point of view:
CSS is all about the appearance of a site (Presentation Layer). Conversely, HTML refers to the content itself not the appearance(Content Layer).
HTML is a structure while CSS is a style use to design that structure!
HTML is just for designing a web page and CSS is use for give a attrective look to your web page and css help to designer by reuseability of code. for example if you have buttons on more than one page you want to chage the design of button then you dont need to change the code of button at diffrent page you can simple change in css and can see the refliction of button design at each page. :)
HTML (Hyper Text Markup Language) is used to develop the basic structure of web page and it is an only browser understanable language.
CSS (Cascading Style Sheet) is used for styling and presentation purposes.
HTML is native Browsers language for for Content generating purpose where CSS used for Presentation purpose likely Decorate / format HTML / XML dcouments
HTML = " hypertext markup language " is used to create web pages content
while
CSS = "cascading style sheets" is used for styling and designing the website , to make your webpages beautiful, atractive and good looking.
As per w3C layered infrastructure. There are4 different layers
1) Content Layer
2) Presentation Layer
3) Usability Layer
4) Code Layer
Conclusively, HTML is the content layer without presentation. However CSS is presentation without content
HTML is used for structural programming of web page where as CSS (cascaded Style Sheet) used for styles/themes of website.
HTML is Creation & Design
CSS is only design