FAQ

frequently asked questions
What is HTML?

HTML stands for Hyper Text Markup Language. IT is the standard markup language for creating web pages and web applications. It describes the structure of a web page


What is CSS?

CSS, or Cascading Style Sheets, is a stylesheet language used to describe the presentation of a document written in HTML or XML. It's a core technology of the World Wide Web, working alongside HTML and JavaScript.


What is the main difference between CSS and HTML

The main difference between HTML and CSS lies in their fundamental purposes in web development


Why do we put CSS in a separate file?

Placing CSS in a separate file, known as an external stylesheet, is a standard practice in web development


What is the difference between an H1 and a P tag?

h1 to h6 tags represent headings and are used to describe the contents below them. The paragraph or the p tag in HTML helps users define a paragraph.


What does the alt attribute do in an <img>z tag?

provides alternative information for an image if a user for some reason cannot view it


how do i link to another page? in html

A link (or hyperlink as it is also called) is created with a special a tag called an "anchor". It requires a closing tag and is used to delineate the text or HTML content that should be linked on the page. An a tag can also be used to mark a section of a web page as a target for another link to jump to.


What is the difference between a 'class' and an 'ID' in CSS?

In CSS, both 'class' and 'ID' are used to select and style HTML elements, but they differ significantly in their intended use and behavior.


What is the difference between 'margin' and 'padding' in CSS?

In CSS, both margin and padding are used to create space around and within HTML elements, but they operate in distinct ways as part of the CSS Box Model.


When should I use an ol instead of a ul?

Use an ol (ordered list) when the sequence or order of the list items is important to the meaning of the content. Use a ul (unordered list) when the order of the items does not matter, and they are presented as a collection of related points.




Back Home