The truth is, there are three quite separate parts to an HTML page.
Each part has is like its own language with its own syntax and rules.
-
HTML - the tags enclosed in less-than and greater-than signs that determine what elements are on the web page.
-
CSS - the styles that adjust where the HTML elements are placed on the page, and how they visually appear.
-
Javascript - executable lines of computer programming code that make things happen under your control.