0% found this document useful (0 votes)
3 views3 pages

HTML and CSS Basics Explained

The document contains a series of questions and explanations related to HTML and CSS, covering topics such as HTML elements, tags, and syntax, as well as CSS styling methods and properties. It addresses specific HTML tags, their purposes, and how to implement styles in web development. The content serves as a foundational guide for understanding web design principles.

Uploaded by

kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views3 pages

HTML and CSS Basics Explained

The document contains a series of questions and explanations related to HTML and CSS, covering topics such as HTML elements, tags, and syntax, as well as CSS styling methods and properties. It addresses specific HTML tags, their purposes, and how to implement styles in web development. The content serves as a foundational guide for understanding web design principles.

Uploaded by

kumar
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

 What is HTML?

 What is the purpose of <!DOCTYPE html> tag?

 Explain about <body>…… </body> tags?

 What are Elements in HTML?

 A developer wants to leave a note about a complex navigation menu for future
reference. Which HTML syntax should they use?
 // Complex menu structure
 <comment>Complex menu structure</comment>
 <note>Complex menu structure</note>
 <!-- Complex menu structure -->

 Which of the following statements about HTML elements is true?


 Elements can only contain text content
 Elements are made up of tags and content
 Elements and tags are the same thing
 Elements always consist of a single tag

 What is CSS's full form, and explain it?

 What is CSS Syntax?

 How many ways can you style the web page?

 Write the code for internal CSS, and where it will apply?

 What is Box Model in CSS?

 What does HTML stand for?

 What does CSS stand for?


 What is the purpose of the ¿ html >¿ tag?

 Where does the ¿ head >¿ element appear in an HTML document?

 What is the ¿ body >¿ element used for?

 How do you create a hyperlink in HTML?

 Which HTML tag is used to display an image?

 How do you create an unordered list in HTML?

 Which tag is used to create a numbered list?

 What is the purpose of the ¿ title> ¿ tag?

 How do you link an external CSS file to HTML?

 What is the syntax for an inline CSS style?

 How do you write a CSS rule to change all paragraph text to blue?

 What symbol is used to select an HTML element by its ID in CSS?

 What is the purpose of the ¿÷¿ tag in HTML?

 How do you make text bold in HTML?

 How do you center text horizontally in CSS?


 What is the default display property for ¿÷¿?

 What is an HTML attribute?

 How do you add a line break in HTML?

You might also like