CSS display attribute with inline, block, inline-block values in Hindi
Автор: AppliedK
Загружено: 2024-11-29
Просмотров: 31
Описание:
CSS for beginners, This video explains about inline, block, inline-block values used with display attribute used with CSS elements.
The display property is the most important CSS property for controlling layout. The display property is used to specify how an element is shown on a web page. Every HTML element has a default display value, depending on what type of element it is. The default display value for most elements is block or inline.
The display property is used to change the default display behavior of HTML elements. An inline element DOES NOT start on a new line and only takes up as much width as necessary.
The display: none; is commonly used with JavaScript to hide and show elements without deleting and recreating them. Take a look at our last example on this page if you want to know how this can be achieved.
Every element has a default display value. However, you can override this.
Changing an inline element to a block element, or vice versa, can be useful for making the page look a specific way, and still follow the web standards.
Note: Setting the display property of an element only changes how the element is displayed, NOT what kind of element it is. So, an inline element with display: block; is not allowed to have other block elements inside it.
Hiding an element can be done by setting the display property to none. The element will be hidden, and the page will be displayed as if the element is not there.
#appliedk #css #display #css3 #htmlcss #css3course #csstutorialscool #cssmcq
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: