Software Development Exam  >  Software Development Videos  >  Learn Website Designing with XHTML and CSS  >  XHTML and CSS Tutorial - 22 - Border

XHTML and CSS Tutorial - 22 - Border Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

45 videos

Top Courses for Software Development

FAQs on XHTML and CSS Tutorial - 22 - Border Video Lecture - Learn Website Designing with XHTML and CSS - Software Development

1. What is XHTML?
Ans. XHTML stands for Extensible HyperText Markup Language. It is a markup language used for structuring and presenting content on the web. It is an extension of HTML and follows stricter rules for syntax and structure.
2. What is CSS?
Ans. CSS stands for Cascading Style Sheets. It is a style sheet language used for describing the presentation of a document written in markup language like HTML or XHTML. CSS separates the content and presentation, allowing developers to control the layout and appearance of web pages.
3. How can I add borders to elements using CSS?
Ans. To add borders to elements using CSS, you can use the border property. For example, to add a border to a div element, you can use the following CSS code: div { border: 1px solid black; } This will add a 1 pixel solid black border around the div element.
4. Can I specify different border styles for different sides of an element?
Ans. Yes, you can specify different border styles for different sides of an element using the border-top-style, border-right-style, border-bottom-style, and border-left-style properties in CSS. For example, to have a solid border on the top and a dashed border on the bottom of a div element, you can use the following CSS code: div { border-top-style: solid; border-bottom-style: dashed; }
5. How can I add rounded borders to elements using CSS?
Ans. To add rounded borders to elements using CSS, you can use the border-radius property. For example, to add a rounded border with a radius of 10 pixels to a div element, you can use the following CSS code: div { border-radius: 10px; } This will give the div element rounded corners.
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

Viva Questions

,

past year papers

,

Summary

,

ppt

,

Sample Paper

,

XHTML and CSS Tutorial - 22 - Border Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

Free

,

practice quizzes

,

Important questions

,

Semester Notes

,

Objective type Questions

,

Exam

,

study material

,

MCQs

,

mock tests for examination

,

video lectures

,

pdf

,

shortcuts and tricks

,

Extra Questions

,

Previous Year Questions with Solutions

,

XHTML and CSS Tutorial - 22 - Border Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

,

XHTML and CSS Tutorial - 22 - Border Video Lecture | Learn Website Designing with XHTML and CSS - Software Development

;