UNC BACS 200

Web Pages with HTML/CSS

Logo

Lesson 8 - Links & Images

LEARN

Today's Agenda

Daily Reading

The New Literacy

HTML Page Template

HTML Validator

Hyperlink

<a href="new_page.html">Link Text</a>

a

<a href="new_page.html">Link Text</a>

Anchor href

<a href="new_page.html">Link Text</a>

Anchor Inner Text (link text)

<a href="new_page.html">Link Text</a>

Anchor target

<a href="new_page.html" target="_new">Link Text</a>

Image

img

<img src="logo.png" alt="Logo">

Image src

<img src="logo.png" alt="Logo"> <img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png">

Image alt

<img src="logo.png" alt="Logo">

Image width

<img src="logo.png" alt="Logo" width="80%">

<img src="logo.png" alt="Logo" width="500">


BUILD

Add an image from the internet

<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png">

Add a local image

<img src="logo.png" alt="Logo">

Finish Project 3