Images, Figures, and Pictures in HTML

  Рет қаралды 10,653

Steve Griffith - Prof3ssorSt3v3

Steve Griffith - Prof3ssorSt3v3

Күн бұрын

This video covers the different ways that you can add images to web pages as images, figures, or pictures.
The different HTML elements and their attributes are discussed.
Code GIST: gist.github.co...

Пікірлер: 22
@theman7050
@theman7050 2 жыл бұрын
Greattt
@kiwiya
@kiwiya Жыл бұрын
Amazing thank you very much
@danillomello87
@danillomello87 5 жыл бұрын
Muito bom, simples e claro. Very good. Simple and clear.
@shellamelexterminador6502
@shellamelexterminador6502 4 жыл бұрын
amaizing tutorials all videos, thanks Steve
@devT44
@devT44 Жыл бұрын
If img is an inline element, then how it's different from an inline-block element?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
inline-block lets you set properties that are associated with block elements like margin and width. Take a look at this page as an example gist.github.com/prof3ssorSt3v3/5fa29c9d678e71103ef2b25dce2c76d9
@cakradanusedayu910
@cakradanusedayu910 3 жыл бұрын
hi, it's really great explanation about img figures and pictures.. thank you very much..
@hiteshsuthar6176
@hiteshsuthar6176 3 жыл бұрын
Thank you so much
@webb-developer
@webb-developer Жыл бұрын
✅ image , figure done pic for later
@frozen_tortus
@frozen_tortus 3 жыл бұрын
This is explained very well. Thanks Steve! I wonder is it correct to use figure as part of a typical card?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
That depends on what type of image that you are putting on the card. A figure is generally an illustration with a label/caption.
@frozen_tortus
@frozen_tortus 3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Oh I see now. Thanks
@damo190
@damo190 3 жыл бұрын
is a inline or inline-block element? I thought it's an inline-block element because we can add height. But I saw it's an inline element as mentioned in w3schools. So I am confused.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
Do NOT trust w3schools. They constantly have incorrect information or miss key points. Images are inline-block.
@keradan
@keradan 4 жыл бұрын
Thanks a lot. Can I use the figure tag with a picture instead of img inside it?
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 4 жыл бұрын
You can put a picture tag inside a figure tag. However, the picture should always have an img tag inside it.
@keradan
@keradan 4 жыл бұрын
Steve Griffith great, thanks
@shayama
@shayama 3 жыл бұрын
So if I dont use capion for image I can use just img src? Is it gonna be like should be? :) I was thinking that we should use picture to define few images with different exension. In that way every browser can choose what type can use. And width and height should be defined in css also for rwd. Can u write something what do you think? Thank you.
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 3 жыл бұрын
Like everything, it depends on the context. If you only have one version of an image, use ``. If you are doing art direction and responsive design and have multiple versions of an image, use the `` element with `` elements that have the media queries. This will also include the ``. If you want to make it a figure (an image with a caption) then wrap it all in a `` and add the ``
@shayama
@shayama 3 жыл бұрын
@@SteveGriffith-Prof3ssorSt3v3 Thank you for your respond :)
@zipponvr7043
@zipponvr7043 Жыл бұрын
in here 4:26 - it was sound of your cat? ))
@SteveGriffith-Prof3ssorSt3v3
@SteveGriffith-Prof3ssorSt3v3 Жыл бұрын
Might be. Could also be neighbour's grandkids through the open window.
HTML5 Audio
8:00
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 16 М.
Form Validation I - HTML and CSS
22:35
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 6 М.
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 64 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 63 МЛН
iPhone or Chocolate??
00:16
Hungry FAM
Рет қаралды 25 МЛН
Background images with HTML & CSS
20:19
Kevin Powell
Рет қаралды 366 М.
Revealing the Differences between HTML Dialogs and the Popover API
24:14
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 8 М.
Intro to Basic HTML Layout
11:14
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 19 М.
What is HTML5 Semantic Markup - Colt's Code Camp
25:08
Colt Steele
Рет қаралды 25 М.
Paths and URLs in HTML
8:18
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 11 М.
Fieldsets and Legends in HTML and CSS
13:55
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 15 М.
Using CSS custom properties like this is a waste
16:12
Kevin Powell
Рет қаралды 171 М.
Webpack 5 Crash Course | Frontend Development Setup
41:17
Traversy Media
Рет қаралды 298 М.
HTML5 Video
10:08
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 7 М.
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 64 МЛН