Podcast
Questions and Answers
Which statement accurately describes the role of HTML elements in web development?
Which statement accurately describes the role of HTML elements in web development?
- They mark up content for specific display in web browsers, impacting how the content is rendered to the end user. (correct)
- They are instructions only used by search engines to index the webpage and have no effect on the user experience.
- They exclusively control the visual appearance of a webpage, overriding any browser defaults.
- They are merely descriptive tags that have no impact on how the content is actually displayed.
What is the primary function of Web browsers in the context of HTML documents?
What is the primary function of Web browsers in the context of HTML documents?
- To encrypt HTML documents for secure transmission over the Internet.
- To store HTML documents on a Web server.
- To translate HTML documents into a user-friendly visual representation. (correct)
- To directly edit the HTML code of a webpage.
What key concept did HTML introduce to the management and presentation of scientific articles, according to its original design?
What key concept did HTML introduce to the management and presentation of scientific articles, according to its original design?
- Automatic language translation for international accessibility.
- Advanced encryption for secure data transmission.
- Hyperlinking, enabling parts of the text to link to other documents. (correct)
- Multimedia integration with embedded videos and audio.
Which characteristic differentiates XHTML from HTML?
Which characteristic differentiates XHTML from HTML?
In the evolution of HTML, what significant change was introduced in HTML5?
In the evolution of HTML, what significant change was introduced in HTML5?
What is the purpose of defining a doctype
in an HTML document?
What is the purpose of defining a doctype
in an HTML document?
Which of the following is true regarding the <head>
section of an HTML document?
Which of the following is true regarding the <head>
section of an HTML document?
How does an HTML element, <img>
, include an image in a webpage?
How does an HTML element, <img>
, include an image in a webpage?
What role do attributes play within HTML elements?
What role do attributes play within HTML elements?
What is the key difference between id
and class
attributes in HTML?
What is the key difference between id
and class
attributes in HTML?
Which of the following is a proper use case for event handlers in HTML?
Which of the following is a proper use case for event handlers in HTML?
In HTML5, what is the standard character encoding that ensures the correct display of a wide range of characters?
In HTML5, what is the standard character encoding that ensures the correct display of a wide range of characters?
How can special characters, not available on a standard keyboard, be included in an HTML document?
How can special characters, not available on a standard keyboard, be included in an HTML document?
Within an HTML document meant to be displayed in English, which tag accurately represents this?
Within an HTML document meant to be displayed in English, which tag accurately represents this?
What is the semantic purpose of the <article>
element in HTML5?
What is the semantic purpose of the <article>
element in HTML5?
What is the main difference between block-level and inline elements in HTML?
What is the main difference between block-level and inline elements in HTML?
How can a web developer make a link that, when clicked, opens the user's default email program and pre-fills the recipient's address?
How can a web developer make a link that, when clicked, opens the user's default email program and pre-fills the recipient's address?
In HTML, what is the proper way to create an interactive image map, and why is it useful?
In HTML, what is the proper way to create an interactive image map, and why is it useful?
When incorporating video or audio into an HTML5 webpage, what is the purpose of the <source>
element inside the <video>
or </audio>
tags?
When incorporating video or audio into an HTML5 webpage, what is the purpose of the <source>
element inside the <video>
or </audio>
tags?
What is the primary function of an <iframe>
element in HTML?
What is the primary function of an <iframe>
element in HTML?
What is the main advantage of using SVG (Scalable Vector Graphics) over traditional image formats like JPEG or PNG when displaying graphics on a webpage?
What is the main advantage of using SVG (Scalable Vector Graphics) over traditional image formats like JPEG or PNG when displaying graphics on a webpage?
In HTML, what is the correct way to set the width of columns of a table to a certain percentage?
In HTML, what is the correct way to set the width of columns of a table to a certain percentage?
Which of the following best describes the purpose of the <textarea>
element within an HTML form?
Which of the following best describes the purpose of the <textarea>
element within an HTML form?
When designing HTML forms, which attribute of the <form>
element specifies where the form data should be sent for processing?
When designing HTML forms, which attribute of the <form>
element specifies where the form data should be sent for processing?
What is the purpose of the name
attribute in form elements such as <input>
or <textarea>
?
What is the purpose of the name
attribute in form elements such as <input>
or <textarea>
?
In HTML forms, which attribute, when added to an input element, makes it mandatory for the user to fill out that input before submitting the form?
In HTML forms, which attribute, when added to an input element, makes it mandatory for the user to fill out that input before submitting the form?
Which input type is implemented so that only text can be entered?
Which input type is implemented so that only text can be entered?
Which term refers to checking to see if the HTML5 follows correct specifications?
Which term refers to checking to see if the HTML5 follows correct specifications?
When it comes to automating tasks, what is the goal?
When it comes to automating tasks, what is the goal?
Automated tests are more costly during intial startup compared to what alternative?
Automated tests are more costly during intial startup compared to what alternative?
What is one of the main reason a company would include automated testing?
What is one of the main reason a company would include automated testing?
What tool is used to automate the tests?
What tool is used to automate the tests?
Name the types of main testing methods.
Name the types of main testing methods.
What are HTML semantic elements used for?
What are HTML semantic elements used for?
What are the benefits of a good understanding of HTML?
What are the benefits of a good understanding of HTML?
Flashcards
What is HyperText Markup Language (HTML)?
What is HyperText Markup Language (HTML)?
A language of tags used for creating web pages. Tags provide structure, presentation, and semantic information in hypertext documents.
What is a Web browser?
What is a Web browser?
A program that interprets and displays HTML documents, allowing users to view web pages.
What does HTML language consists of?
What does HTML language consists of?
It consists of elements that can be displayed via HTML graphic and markup browsers.
What is an HTML page?
What is an HTML page?
Signup and view all the flashcards
What are HTML attributes?
What are HTML attributes?
Signup and view all the flashcards
What is character encoding?
What is character encoding?
Signup and view all the flashcards
What is the purpose of the DOCTYPE declaration?
What is the purpose of the DOCTYPE declaration?
Signup and view all the flashcards
What is HTML document
section for?
What is HTML document
section for?Signup and view all the flashcards
What is HTML document
section for?
What is HTML document
section for?Signup and view all the flashcards
What is the element?
What is the
Signup and view all the flashcards
What is the element?
What is the
Signup and view all the flashcards
What is the
What is the
Signup and view all the flashcards
What is the
What is the
Signup and view all the flashcards
What is the element?
What is the
Signup and view all the flashcards
What is the
element?
What is the
element?Signup and view all the flashcards
What is the
element?
What is the
element?
Signup and view all the flashcards
What are group content elements?
What are group content elements?
Signup and view all the flashcards
What is
tag for?
What is
tag for?
Signup and view all the flashcards
What is tag for?
What is tag for?
Signup and view all the flashcards
What are hyperlinks?
What are hyperlinks?
Signup and view all the flashcards
For what purposes are the and
For what purposes are the and
Signup and view all the flashcards
What tags are used to display multimedia?
What tags are used to display multimedia?
Signup and view all the flashcards
What is used to display data at the lowest level?
What is used to display data at the lowest level?
Signup and view all the flashcards
What is
tag for?
Signup and view all the flashcards
What are forms?
Signup and view all the flashcards
What is a Form validation?
Signup and view all the flashcards
Study Notes
- This guide provides study notes for web technology courses, specifically covering HTML.
HyperText Markup Language (HTML)
- HTML developed by Tim Berners-Lee at CERN in 1989, gaining popularity with the Mosaic browser in 1993, developed by Marc Andreessen at NCSA.
- HTML is comprised of elements recognizable by graphical and textual browsers, displayed in a specific way for the user.
- Graphical and textual browsers, also known as Web browsers, access Web pages stored on Web servers via HTTP protocol.
- HTML pages marked with HTML tags, displayed in a specific way by web browsers.
HTML Development and Versions
- HTML evolved from a text-based system with links to other pages, initially aimed at connecting scientific papers.
- HTML involves marking text to link to other documents, using tags to indicate how elements should be displayed.
- An HTML page consists of text content and HTML tags, enabling the inclusion of other Web documents.
- 1989 is considered the formal year of HTML's creation.
- HTML+ appeared in 1993
- HTML 2.0 was released in November 1995 under the IETF, while HTML 3.0 was released in 1996.
- In January of 1997, the World Wide Web Consortium (W3C) developed HTML 3.2.
- HTML 4.0 was released in December 1997, and HTML 4.01 in December 1999.
- XHTML 1.0 appeared in January 2000, and XHTML 1.1 in July 2007.
- HTML5 has been in development since 2007; HTML 5.0 was recommended in 2014, and HTML 5.1 in 2016 by W3C.
- WHATWG and W3C agreed to collaborate on a single HTML version in 2019.
Additions and Changes in HTML5
- HTML5 brought additions, obsolete tags, and new attributes.
- A key difference between HTML and XHTML is that XHTML is stricter regarding correctness.
Simple HTML Example
- A simple Web page displays an image, a main heading, and a numbered list of instructors.
- HTML tags are used to mark up the text, directing the Web browser to display it in a specific format.
Definition of HTML
- Hypertext Markup Language (HTML) defines structure, presentation, and semantic information and is used to create platform independant documents.
- HTML documents consist of hypermedia, including text, images, audio, and video.
- HTML documents, as SGML documents, designed for broad information representation.
- HTML relies on Document Type Definition (DTD) to define tag syntax, conforming to ISO Standard 8879:1986.
- HTML tags can represent news, emails, documentation, multimedia, menus, database queries, and structured documents.
Roles in HTML Usage
- HTML can be used by creators of static pages who compile content with HTML tags.
- Web app creators, who use databases and programming languages to present dynamic content.
- HTML is a user's tool for accessing content is presented.
- Web applications now enable users to contribute content.
- Creating HTML pages or web applications requires autorski tools for HTML and web documents, a web browser, and a web server.
HTML Compliance and Validation
- Web designers need to ensure HTML compliance with their chosen version.
- Resources like http://caniuse.com/ offer assistance with HTML version support across browsers.
What is an HTML Page?
- An HTML page is a text-based document with a .html or .htm extension.
- A multimedia/hypermedia document in text/html format, according to Multipurpose Internet Mail Extensions (MIME).
Web Browsers
- Web browsers are applications for viewing HTML pages with categories like text-based and graphical browsers.
- Graphical browsers now dominate, but text-based browsers like Lynx still exist, with the first being available at https://worldwideweb.cern.ch/.
- Popular graphical browsers are Chrome, Firefox, Safari, Opera, and Edge
- Additional browser functionalities influence user experience, privacy, and security, making same pages in all browsers and minimal display differences.
HTML Page Content
- HTML page content includes visible elements (titles, text) and invisible elements (meta instructions, design code).
- A Web page’s content is either embedded directly or referenced externally, images, design instructions.
- Special tags allow browsers to embed external documents or provide links, depending on the document type.
HTML Language Elements
- HTML uses tags (elements) to format content, each having a unique name using alphanumeric ASCII characters without special characters.
- HTML elements consist of a tag name enclosed in angle brackets and include content and matching opening and closing tags, the closing tag denoted with a forward slash.
Types of HTML elements:
- Empty: Contain to no content, therefore no closing tag.
- Raw text: Includes text with restrictions.
- Replaceable Character Data: Contains text and character references.
- Foreign: It treatesed as self-closing with text but without specific characters.
- Normal: All other elements.
HTML Element Attributes
- HTML tag may have one or more attributes to define a name and value separated by an equals sign.
- A blank attribute value doesn't require an equals sign or quotation marks, while values with spaces need quotes.
Variations of HTML Elements:
- Element : The element without attributes.
- Element attribute: The element with an attribute but with no assigned value.
- Element attribute="value" is and element with an attribute that has a value assigned to it. This value doesn't need any additional quotation marks.
- Element attribute="value" is and element with an attribute that has a value assigned to it. In this case the value is surronded by quotation marks and it's mostly used when there are multiple words.
- Element attribute1="value1" attribute2="value2" is and element with multiple atrributes which all have values assigned to them.
Common HTML Attributes
- Ids used for CSS/Javascript/internal links.
- Title and lang elements are language specifications.
- Class and style manage CSS styling data attributes custom.
- Event handlers are onfocus, onblur, onsubmit, and onmouseover.
Character Display
- Text documents use encoding like UTF-8.
- Text editors reveal document encoding but display character symbols as strange.
- HTML5 uses UTF-8, replacing the older ISO 8859-1 standard, using logical names, decimal, or hexadecimal numbers to represent symbols.
Structure of an HTML Document
- An HTML document starts with a preamble indicating HTML version. For HTML5, it is "".
- Followed by the root element with optional lang and dir attributes for language and text direction.
- Inside , defines the document’s head section, and defines the body section consisting of visible and invisible components.
[Differences Between HTML and XHTML]
- XHTML, stricter than HTML, needs closing tags and requires tags' order.
- XHTML treats big and small letters differently and requests the values of the attributes to be surronded by quotation marks.
Key Differences according to [W3Schools, 2021]:
-
and xmlns are mandatory.
- Ugnježdivanje oznaka must be followed.
- Tags must be closed for all types of elements.
- Tags or names must be in lowercase.
- All elements' attributes must have quotation marks.
Head Section
- HTML document's head contains metadata, which search engines use.
The head section contains:
-
: The documents title.
-
: specific base address documentation.
- : used for search engines, specifies author, descriptions of pages, coding and keywords.
-
: used for connection of external documents. Used for CSSs.
-
<style>: to write CSS documents.
Body Section
- Body of the HTML document consists of elements to describe the content.
Some of the HTML visual formatting rules include:
- The document is shaped by oznakas and not by its content.
- No matter the quantity of new lines and espaces, only one matters.
- The rollon is not important on the form of presentation.
- There are exceptions. Like texts using
.
- Some oznakas are not allowed for the addition of others oznakas into their own body.
- Sone oznakas like
and are allowed to only be surrounded by certain other oznakas from within their body.
- The space a element takes depends on his type.
Elements for sections and content grouping
- Used for sorting common content to a better unity.
They are:
- Article - defines a parts of documentation.
- Sections - used for the unity of documentations.
- Navigation - links to other pages.
- Aside - contains the part that it's not necessarily in a direct connection.
- Header - group for introduction.
- Footer - representative of it's closest header.
- Address - contains info to contact the or
.
- Heading to be a section. - h1 - h6.
- Main content does not need to be repetitive, copyright or logo.
Links
- The term "link" is often used as a synonym for the tag , but it is not entirely precise according to the HTML standard.
- According to the HTML standard, "links are a conceptual construct, created by the tags , , <form> and , which represent connections between two resources, one of which is the current document.”
- Two types of links: External and Hypertext.
-External expands the actual documentation while hypertext connects the rest of the files and resources.
Text Semantics Elements
- Enable specific parts of specific data like program code and time.
- Visual marks like bold text.
- They specify the definitions.
- Also used to define computer codes, short texts.
- The text that's meant to be written.
The size and position of text.
- There are some little bit complicadet oznaka of this category so here is the one that's written in the guidance:
- The direction of the letter
The attribute dir=rtl or ltr enables the definisane of the direction.
Embedded HTML elements
- Used to integrate multimedia elements to HTMLs.
- Some of the embedded elements are.
that contains the images.
- A container for pictures
- A picture map
Video and Audio
- Integration and audio materials with sources that say where the actual contetn lays.
- Attributes that specifies the control.
Internal Framework
- Allows other other docmentation in actual.
Drawing Board and Graphics
- HTML in these days allows you to show graphics.
Tables
- Oftenly use to represent big amounts of data.
- First it must be indicated which main oznaka to use that being the
Main elements consist of:
- Defininas hte naslol
- Row
- Cell
To better describe can be used:
- Head
- Body
- Foot
Forms
- Forms of the web use user data gathering for client data collection.
There are elements for forms:
- predefined lists.
- that act like buttons.
- use to write text with <textarea>
- use to enter numbers and dates.
- use
Page Validation
- HTML 5 validation can be done with additional tools in Chorme (Alata za razvojne programere).
- Valididation allows the error to be corrected if it is not in conjunctions with the specificasion.
Automated Testing of the Page (UWT)
- Hand automation is not the solution.
- Automatied test and more profiatable for the company.
- There the following can be used Selenium IDE that can be installed as ad addon on these.
Studying That Suits
You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
More Like This
What is