Yo my fellow web ninjas! In this CSS tutorial for beginners we're going to explore what a block-level element is. I've mentioned already that the box-model governs the spacial properties (padding, margin, width, height & border) of all block-level elements, but not yet talked about what a block level element is!
A block level element is one which occupies the full horizontal width of its parent element.
An in-line element stacks from left to right... IN LINE. Hence the name :P. Box model properties do not apply to in-line elements, but we can set the display types of these elements to inline-block, so that we can control the spacial properties of them too!
Anyway, peace out, have fun & keep coding :).
LINK TO LIST OF BLOCK-LEVEL AND IN-LINE ELEMENTS - http://www.w3resource.com/html/HTML-b...
SUBSCRIBE TO CHANNEL - / @netninja
========== CSS for Beginners Playlist ==========
• CSS Tutorials For Beginners
========== HTML Basics Course ==========
• HTML Tutorials For Beginners
========== The Net Ninja ============
For more front-end development tutorials & to black-belt your coding skills, head over to - / @netninja or http://thenetninja.co.uk
========== Social Links ==========
Twitter - @TheNetNinja - / thenetninjauk
Auf dieser Seite können Sie das Online-Video CSS Tutorial For Beginners 41 - Block-level Elements mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Net Ninja 06 Juli 2015 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 35,482 Mal angesehen und es wurde von 918 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!