Загрузка...

HTML Tutorial in Hindi || PART 2

In HTML, elements are classified as either block-level elements or inline elements. This classification determines how elements behave in terms of their layout and interaction with other elements on the web page.

Block-level elements:
Block-level elements are those that create a block on the web page, meaning they occupy the full available width by default and start on a new line after the preceding element. They stretch horizontally to fill the space of their container. Some common block-level elements

Inline elements:
Inline elements, on the other hand, do not create a new block but instead flow within the content of the surrounding text. They only take up as much width as necessary for their content. Inline elements can appear alongside other inline elements and do not cause a line break. Examples of inline elements
Understanding the distinction between block-level and inline elements is crucial for proper structuring and styling of web pages. It's important to note that the display behavior of an element can be modified using CSS (Cascading Style Sheets). For instance, you can change an inline element to behave like a block-level element or vice versa using CSS properties like

HTML PART 1 link :-
https://www.youtube.com/watch?v=zkmrDCnC0Tg&t=962s

JavaScript full Course in HIndi link :-
https://www.youtube.com/watch?v=gXPBztDkzig&list=PLpY7SafRuHIXOG5FxKCtQ73cTDVLej6rr

Видео HTML Tutorial in Hindi || PART 2 канала 7minCode
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять