1)HTML (Hypertext Markup Language) is used to create the actual content of the page, such as written text
2)CSS can be used in HTML files.
3)Tags surround the content.
1)CSS (Cascade Styling Sheets) is responsible for the design or style of the website, including the layout, visual effects and background color
2)HTML cannot be used in CSS style sheets.
3)Selectors are succeeded by a declaration block in CSS.
Advantages of HTML
1)It is easy to use as it user-friendly
2)It allows the use of templates, which makes designing a web page easy.
3)It is supported on almost every browser
4)Last, but not the least, it’s completely free, you need not buy any software
Disadvantages of HTML
1)Since it is a static language, It cannot produce dynamic output alone
2)Sometimes, the structure of HTML documents might be too hard to grasp
3)Security features offered are limited.
Advantages of CSS
1)CSS enables web designer efficiency
2)CSS simplifies website maintenance and gives web developers
3)Saves time and improves page loading speed
Disadvantages of CSS
1)CSS renders different dimensions with each browser
2)There are different levels to CSS: CSS; CSS 2; CSS 3 which might be confusing for developers
3)It is quite vulnerable when it comes to security issues.