HTML is great language. It defines the structure of webpages and it determines how data is displayed online. But this doesn't make HTML as a programming language.
A markup language
HTML encapsulates, or “marks up” data within HTML tags or elements, which define the data and describe its purpose on the webpage. The web browser then reads the HTML elements, which tells it things like which parts are headings, which parts are paragraphs, which parts are links, etc. The HTML describes the data to the browser, and the browser then displays the data accordingly.
That's how the browser knows that
However, this is not programming as I said before. The above is not an example of an executable script. The HTML was only used in the above to mark up the text for the browser to read and interpret as web page content. HTML is used for structural purposes on a web page, not functional ones.
Next Steps: Find out more about html tutorial here or start learning CSS with CodeRepublics.
Now come with the new language that is CSS which is used to create creative website, or you can say HTML is the sole of CSS, without CSS you can't imagine a creative website * (most of the cases).
How it CSS works? CSS describes how HTML elements should be displayed. Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML. It describe the Web pages, including colors, layout, and fonts. It allows one to adapt the presentation to different types of devices, such as large screens, small screens, or printers. CSS is independent of HTML and can be used with any XML-based markup language.
Next Steps: Find out more about CSS tutorial here or start learning CSS with CodeRepublics.