Podcast
Questions and Answers
Which tag serves as the container for the entire HTML document?
Which tag serves as the container for the entire HTML document?
What is the primary purpose of the Head Tag in an HTML document?
What is the primary purpose of the Head Tag in an HTML document?
Which attribute is NOT used to modify the visual appearance of the body in an HTML document?
Which attribute is NOT used to modify the visual appearance of the body in an HTML document?
How many levels of headings are defined in HTML?
How many levels of headings are defined in HTML?
Signup and view all the answers
Which tag is used for adding comments in an HTML document?
Which tag is used for adding comments in an HTML document?
Signup and view all the answers
What does the Paragraph Tag do in an HTML document?
What does the Paragraph Tag do in an HTML document?
Signup and view all the answers
Which of the following is true regarding the Body Tag?
Which of the following is true regarding the Body Tag?
Signup and view all the answers
What is the purpose of the 'Align' attribute in HTML?
What is the purpose of the 'Align' attribute in HTML?
Signup and view all the answers
What character is used to denote the beginning of an HTML tag?
What character is used to denote the beginning of an HTML tag?
Signup and view all the answers
Which of the following statements about HTML attributes is true?
Which of the following statements about HTML attributes is true?
Signup and view all the answers
What is required to convert a text file into an HTML document?
What is required to convert a text file into an HTML document?
Signup and view all the answers
Which of the following describes an empty tag in HTML?
Which of the following describes an empty tag in HTML?
Signup and view all the answers
What happens if basic structure tags are missing from an HTML document?
What happens if basic structure tags are missing from an HTML document?
Signup and view all the answers
Which option correctly describes the case sensitivity of HTML tags?
Which option correctly describes the case sensitivity of HTML tags?
Signup and view all the answers
During the process of creating an HTML file in Notepad, what is the correct action to take in the Save As dialog box?
During the process of creating an HTML file in Notepad, what is the correct action to take in the Save As dialog box?
Signup and view all the answers
Which of the following is NOT a common empty tag in HTML?
Which of the following is NOT a common empty tag in HTML?
Signup and view all the answers
What do HTML tags indicate in an HTML document?
What do HTML tags indicate in an HTML document?
Signup and view all the answers
Which of the following statements about opening and closing tags is correct?
Which of the following statements about opening and closing tags is correct?
Signup and view all the answers
What is meant by nesting in HTML?
What is meant by nesting in HTML?
Signup and view all the answers
Which of the following best describes an HTML document?
Which of the following best describes an HTML document?
Signup and view all the answers
What defines the behavior or properties of HTML elements?
What defines the behavior or properties of HTML elements?
Signup and view all the answers
Which of the following is NOT a property of HTML tags?
Which of the following is NOT a property of HTML tags?
Signup and view all the answers
Which tool can be used to create HTML pages?
Which tool can be used to create HTML pages?
Signup and view all the answers
What is the purpose of HTML tags when viewed in a browser?
What is the purpose of HTML tags when viewed in a browser?
Signup and view all the answers
Study Notes
Web Design Using HTML
- Web sites are used to download information
- Web pages are created using text in HTML (Hyper Text Markup Language)
- Other markup languages include RTF, PHP, PEARL, ASP, JavaScript, and ActionScript
- World Wide Web uses 3 technologies:
- HTML for web pages
- HTTP for transferring web pages
- Browser for receiving, interpreting, and displaying data
- WWW (World Wide Web): A network of interconnected information
- HTTP: Hyper Text Transfer Protocol; used to transfer web pages
- HTML: Hyper Text Markup Language; used to design web pages
- Hypertext: The way users navigate the web by clicking links
- Link, Hotlink, Hyperlink, links on web pages
- Hyperlink: Used to jump to another part of the same or different web page
- URL (Uniform Resource Locator): Unique address of a web page.
- Example: http//www.yahoo.com/index.html
- Web Browser: Software that displays web pages
- Examples: Mozilla Firefox, Google Chrome, Microsoft Internet Explorer, Apple Safari, Opera Browser
Basic Web Terminology
- Web servers: Computers holding web pages (e.g., Microsoft IIS, Apache)
- Website: Set of connected web pages
- Web page: Electronic document containing information and links
- Home Page: Introduction page, also known as index page
HTML (Hypertext Markup Language)
- Language used to create web pages
- Character-based method for documenting content (text, images, sound, and video)
- Not a programming language, but uses tags and syntax
- HTML is used in text files with an .html extension
- Uses tags with opening and closing tags, or empty tags to format
- Example: ... , ... (container tags)
- Example:
(empty tag)
- Uses attributes to modify properties of elements
- Example:
- tags nest other tags (nesting):
- Example:
nested inside
- Example:
HTML Documents
- HTML documents correspond to web pages
- Contain HTML tags and plaintext
- Web browsers interpret the tags and display the content
HTML Tags/Elements
- Indicate structure & hierarchical arrangement in HTML documents
- Example: headings, images, paragraphs, lists
HTML Tag Properties
- HTML tags are keywords enclosed in angle brackets -Example:
- Most tags come in pairs (opening and closing)
- Example: ...
- Some tags are single elements (empty tags)
- Example:
- Example:
Creating an HTML Document
- Use a text editor (like Notepad)
- Save the file with an .html extension
- Open the file in a web browser
HTML Structure Tags
- Required for browsers to recognize and display HTML files
- Examples: , ,
, tags are common
HTML Head Tags
- Contains metadata about the webpage.
- Used for identifying web pages.
- Example:
tag
HTML Body Tags
- Contains the content displayed on the webpage
HTML Heading Tags
- Six levels of headings; <H1> largest, <H6> smallest
- Help structure and format content
HTML Paragraph Tags
- Enclose blocks of text in a webpage.
-Example:
tag
HTML Line Break Tags
- Insert a line break in a webpage.
- Example:
tag
HTML Physical Tags
- Control the physical appearance of text (e.g. bold, italics)
HTML Logical Tags
- Indicate the type of content enclosed.
- Example: , , etc
HTML Horizontal Rule Tags
- Used to visually separate or create a horizontal line in a webpage
Text Formatting
- Used in combination with other tags to format text (size, colour, font family)
- Example: ...</> ,
...</>
Font Tag
- Sets font size, color, and family for text within the tag
Center Tag
- Centers tags content on the page
Div Tag
- Divides the document into sections or groups elements
Marquee Tag
- Creates scrolling text effect
Blockquote tag
- Used to quote directly from a source. Adds left and right indentation
Preformatted tag
- Maintains the exact format of plain text displayed. Useful for source code
Hyperlinks and Anchors
- Hyperlinks: References to resources on the web.
- Anchors: Webpage locations
- tag defines hyperlinks or anchors
- href attribute defines link destination
- Example: link text
Image Tag
- Inserts images into a webpage
- src attribute specifies image location.
- Example
Creating Lists
- HTML supports: unordered, ordered, definition, nested lists
- Unordered Lists: Items marked with bullets. Use
- and
- tags.
- Ordered Lists: Items ordered numerically. Use
- and
- tags.
- Definition Lists: Terms and definitions. Use
- ,
- , and
- tags
- Nested Lists: Lists inside other lists.
Tables
- HTML tables organize data into rows and columns
- Use
,
, , tags
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Explore the fundamentals of web design in this quiz focusing on HTML. Understand how web pages are created, the technologies that make the World Wide Web work, and key terms such as hyperlinks and URLs. Test your knowledge of essential concepts for building effective websites.