Save
Coding
HTML1/CSS - intro to web development
Save
Share
Learn
Content
Leaderboard
Learn
Created by
lexh maluay
Visit profile
Subdecks (1)
CSS1 - intro to web development
Coding > HTML1/CSS - intro to web development
22 cards
Cards (41)
HTML
is the computer language that structures all the web pages on the internet. It stands for
Hypertext Markup Language.
To create a button, we use <button>Like</button> . These are called
HTML tags
Opening tags are surrounded by
<>
, while closing tags are surrounded by
<
/
>
In HTML, the keywords of some tags are obvious, but there are some tags that use a shortened form. For example, we use
p
for a paragraph.
The
heading
tag emphasizes texts by making them bigger and bolder.
h1
is the biggest and boldest and
h6
is the smallest and least bold
<br>
is an empty tag.
Empty
tags have no closing tag and no content
There's an element for giving emphasis to text, it makes it italic. It's called the
em
element.
To define texts as important, we use the <strong> and </strong> tags. It makes text
bold.
Uniform
Resource
Locator
(URL)
<a> stands for "
Anchor
" tag.
href is short for "
hypertext reference
".
href is an
attribute.
All attributes have two things in common: they provide extra information and they go
inside
the
opening
tag.
To add images to a webpage, we start with the <
img
> tag.
To display an image, an image tag needs the
src
attribute.
src
stands for
source
The
html
and
body
elements form the structure of a webpage. We place elements we want to display inside of the body
The
head
element, is a container for information about the webpage, like it's title. It goes before the body tag
The
doctype
tells the web browser what version of html were using.
Rel
attribute defines the relationship between a linked source and the current document
Href
attribute indicates the destination of the hyperlink
See all 41 cards