The primary objective of HTML was to present information in a simple way which was actually intended for sharing scientific documents and research papers online. However, as the internet grew, HTML played a major role in web designing and was mainly used for the web presentation and multimedia. However, there were some formatting issues and as a result, CSS came into the play.