1. Trang chủ
  2. » Luận Văn - Báo Cáo

Lecture Web technologies and programming – Lecture 8: HTML images, audio and video - TRƯỜNG CÁN BỘ QUẢN LÝ GIÁO DỤC THÀNH PHỐ HỒ CHÍ MINH

10 8 0

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 10
Dung lượng 0,95 MB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader)... It's tellin[r]

Trang 2

2

Trang 4

Internal links

4

Trang 5

Adding images to web pages

Trang 6

<img> tag is used to add images to web pages

to indicate the source of the image

attributes only, and does not have a

closing tag.

6

Trang 7

Images can be added as follows

<img src=“image-name”>

<img src=“abc.jpg”>

Trang 8

HTML Images Syntax

the <img> tag.

The <img> tag is empty, it contains attributes only, and does not have a closing tag.

(web address) of the image:

< img src="url" alt="some_text">8

Trang 9

The alt Attribute

text for an image, if the image cannot be displayed

information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or

if the user uses a screen reader)

Trang 10

Images can be added as follows

to the browser that an image will go

here on the page

an attribute It's telling the browser

where to go to find the image

10

Ngày đăng: 01/04/2021, 16:09

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN

🧩 Sản phẩm bạn có thể quan tâm

w