Headings ah1 to h6.
re described by heading elements. There are six levels of heading elements:
The h1 element is used to describe the
main heading of the page.
Links
ure of the Web is the presence of links. Clicking on links leads to other web pages. The
The a element is similar to the h1 or p elements, but it has two key differences:
- First, it has an
href
attribute which equals the website you want to link to. - Second, you get to choose the link text that users see on the page.
Images
<img>
In addition to headings and paragraphs, a web page can have images. The img element is used to add images to a page.
The img element has an attribute inside the opening<img>
tag namedsrc
. Thesrc
attribute has the address of the image.
Lists
Html & Body
<html> and <body>
Here's an example of a real web page:
- Everything inside a web page is nested inside the html element
- The body element contains the actual content of the web page - everything nested inside
<body>
and</body>
shows up in the web browser
Top notch fello
ReplyDeletecheers
ReplyDelete