Software Development Exam  >  Software Development Videos  >  Learn Website Designing with XHTML and CSS  >  XHTML and CSS Tutorial - 3 - body and headers

XHTML and CSS Tutorial - 3 - body and headers Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

45 videos

Top Courses for Software Development

FAQs on XHTML and CSS Tutorial - 3 - body and headers Video Lecture - Learn Website Designing with XHTML and CSS - Software Development

1. What is the purpose of the body element in XHTML and CSS?
Ans. The body element in XHTML and CSS is used to define the main content of a webpage. It contains all the visible content such as text, images, headings, and other elements that are displayed on the webpage.
2. How can I style the headers in XHTML and CSS?
Ans. Headers in XHTML and CSS can be styled using CSS properties such as font-size, font-family, font-weight, color, background-color, padding, margin, and text-align. These properties can be applied to different levels of headers (h1, h2, h3, etc.) to achieve the desired styling.
3. Can I have multiple headers in a single webpage?
Ans. Yes, you can have multiple headers in a single webpage. XHTML allows the use of multiple header elements (h1, h2, h3, etc.) to structure the content hierarchy. Each header can have its own styling and importance based on the level of the header.
4. How can I align headers horizontally in XHTML and CSS?
Ans. Headers are block-level elements by default, which means they occupy the full width of the container. To align headers horizontally, you can use CSS properties such as display: inline or display: inline-block. This will make the headers behave like inline elements and align them horizontally in the order they appear.
5. Can I change the size of the headers in XHTML and CSS?
Ans. Yes, you can change the size of the headers in XHTML and CSS using the font-size property. You can specify the desired font size in pixels, ems, or percentages. Additionally, you can also use CSS properties like font-weight, font-family, and text-transform to further customize the appearance of the headers.
45 videos
Explore Courses for Software Development exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

ppt

,

pdf

,

shortcuts and tricks

,

study material

,

Viva Questions

,

Summary

,

XHTML and CSS Tutorial - 3 - body and headers Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

Extra Questions

,

practice quizzes

,

past year papers

,

Exam

,

MCQs

,

Important questions

,

Objective type Questions

,

video lectures

,

XHTML and CSS Tutorial - 3 - body and headers Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

XHTML and CSS Tutorial - 3 - body and headers Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

Semester Notes

,

Sample Paper

,

mock tests for examination

,

Previous Year Questions with Solutions

,

Free

;