Podcast
Questions and Answers
What is the purpose of a website for a business?
What is the purpose of a website for a business?
What does HTML stand for?
What does HTML stand for?
What are the two types of tags in HTML?
What are the two types of tags in HTML?
Paired tags and empty tags.
Empty tags have an end or closing tag.
Empty tags have an end or closing tag.
Signup and view all the answers
Name one type of HTML element.
Name one type of HTML element.
Signup and view all the answers
What is the purpose of attributes in HTML?
What is the purpose of attributes in HTML?
Signup and view all the answers
What does the
tag hold?
What does the
tag hold?Signup and view all the answers
Which HTML tag is used to create a hyperlink?
Which HTML tag is used to create a hyperlink?
Signup and view all the answers
What is the function of the tag in HTML?
What is the function of the tag in HTML?
Signup and view all the answers
The
tag creates a __________.
The
tag creates a __________.
Signup and view all the answers
Headings in HTML are typically displayed in italics.
Headings in HTML are typically displayed in italics.
Signup and view all the answers
Study Notes
Introduction to Websites
- A website is essential for businesses in the digital age, providing significant marketing opportunities.
- Absence of a website can lead to lost business possibilities; it serves as the hub for online presence.
- Websites facilitate advertising through social networks, forums, and pay-per-click campaigns.
Importance of HTML
- HTML (Hypertext Markup Language) is the primary markup language for creating websites.
- It employs tags to structure content, organizing various elements on a page.
Structure of HTML
- Key components of HTML include elements, tags, and attributes.
Elements
- HTML elements consist of anchors, paragraphs, tables, forms, lists, and images.
Tags
- Tags, or markups, signify HTML elements and are classified into paired and empty tags.
Paired Tags
- Comprise a start tag (opening) and an end tag (closing).
- The start tag indicates the beginning of a section.
Empty Tags
- Do not have an end tag and consist of a single tag format.
Attributes
- Attributes add extra information to tags, improving or modifying their behavior.
- Placed within the start tag, they are separated by space; values may use quotes and can be listed with commas.
Core HTML Tags
- Fundamental HTML tags for document structure include
<html>
,<head>
, and<body>
.
The <html>
Tag
- A paired tag that denotes the start and end of an HTML document.
The <head>
Tag
- Contains document metadata not displayed directly on the page.
- May include definitions like
<title>
,<meta>
,<style>
, and<link>
.
The <body>
Tag
- Encloses all content displayed in the browser, including text and images.
Formatting Text and Images
- Formatting features enhance the visual appearance of text on a webpage.
Text Appearance Tags
- Use heading tags (
<h1>
to<h6>
) for titles and subtitles;<h1>
being the most significant. - The
<p>
tag creates paragraphs; it resets extra white space and initiates a new line. - The
<pre>
tag preserves formatting, including white space and line breaks. - The
<br>
tag adds line breaks without starting a new paragraph.
Formatting Tags
- Basic formatting includes bold (
<b>
), italic (<i>
), and underline (<u>
).
Links, Images, and Media Elements
Linking Web Pages
- The
<a>
tag (anchor element) creates hyperlinks to navigate to other pages or resources. - The
href
attribute specifies the destination URL.
Adding Images
- The
<img>
tag is used for displaying images in HTML. - Acceptable file types include apng, jpeg, png, svg, ico, and gif.
- Commonly used attributes for the
<img>
tag include:-
src
– specifies the source path of the image.
-
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
This quiz serves as an introduction to the significance of websites in digital marketing. It discusses how having a website can enhance a business's visibility and reach, making it essential for success in today’s digital landscape. Test your understanding of the fundamental role a website plays in marketing strategies.