- How Does Java Script Differ from HTML and CSS?
- Hypertext Markup Language (HTML)
- Cascading Style Sheets (CCS)
How Does Java Script Differ from HTML and CSS?
Hypertext Markup Language (HTML)
HTML provides the skeleton of a website. HTML uses tags to define content types. And, within those tags are the words of the content. So, an example of HTML code would be <h1> Hello World </h1>. In this example, the tag <H1> signifies that the text is a top-level heading, and Hello World is the text to be displayed in that heading.
Cascading Style Sheets (CCS)
HTML only provides the basic information on a web page. The formatting of that information is provided by cascading style sheets. CSS can be used to format a specific HTML tag, in which case it is called an inline style. CSS can be applied to an entire page of a website with an internal stylesheet. Or you can use an external stylesheet that will be applied to the whole website. The following code used in an external style sheet, for example, would make all h1 titles red; h1 color: red; .