173k views
5 votes
6. Expand and explain HTML and CSS. Mention the role of each one in web pages. Imagine how a page without CSS will look like. ​

User Adam Casey
by
5.1k points

2 Answers

6 votes

Answer:

Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser

Cascading Style Sheets (CSS) is a style sheet language used for describing the presentation of a document written in a markup language like HTML.

Step-by-step explanation:

HTML stands for Hyper Text Markup Language. It describes the structure of a Web page and consists of a series of elements. HTML elements tell the browser how to display the content and the elements are represented by tags which label pieces of content such as "heading", "paragraph", "table", and so on. Browsers do not display the HTML tags, but use them to render the content of the page

HTML can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

Example are:

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

</html>

While CSS means Cascading Style Sheets. It describes how HTML elements are to be displayed on screen, paper, or in other media CSS saves a lot of work. It can control the layout of multiple web pages all at once. External stylesheets are stored in CSS files

It's possible to build pages of web sites without CSS but CSS is what gives every website its design. Surely, websites pages may not be beautiful, fun and friendly without it!

Some certain aspects of them would not look neat and nice as expected.

User Celelibi
by
4.4k points
2 votes

Answer:

Step-by-step explanation:

HTML : First developed by Tim Berners-Lee in 1990, HTML is short for Hypertext Markup Language. HTML is used to create electronic documents (called pages) that are displayed on the World Wide Web. Each page contains a series of connections to other pages called hyperlinks.

CSS:

Stands for "Cascading Style Sheet." Cascading style sheets are used to format the layout of Web pages. They can be used to define text styles, table sizes, and other aspects of Web pages that previously could only be defined in a page's HTML.

A page without css wount look very nice and good

User Greg Brown
by
4.0k points