FAQ!

Frequently Asked Questions.
What is HTML?

HTML stands for HyperText 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 stands for Cascading Styles Sheet. It is a style sheet language used for describing the presentation of a document written in markup language. It is commonly used with HTML.


What is the main difference between HTML and CSS?

HTML creates the structure and content of a webpage while CSS controls the presentation and styling of the content.


Why do we put CSS in a seperate file?

We put CSS in a seperate file because it seperates content from presentation, it can be linked to multiple HTML pages, it helps minimalize making many edits in the HTML files to only the CSS file.


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

the H1 tag is used for titles and headings of the content while the P tag is used for regular descriptive texts of the content.


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

The 'alt' attribute in an <img> tag helps create alternative text for an image incase the user cannot see the image.


How do I link to another page?

To link to another page, add the a tag and specify the destination using the href attribute. Then, insert your link.


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

'ID' in CSS is used for unique elements with higher specificity while the 'class' in CSS is used for multiple elements with lower specificity.


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

'Padding' is the space inside of an element's border which is in between the content and border. 'Margin' is he space outside of the border which seperate elements from each other.


When should I use an <ol> instead of a <ul>?

The <ol> tag should be used when the list and order of the items are significant and has a meaning. The <ul> should be used when the order of the items do not matter.




BACK HOME