HTML

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

What is the <body> element?

The HTML <body> Element represents the content of an HTML document. There can be only one <body> element in a document.

What is Doctype?

<!DOCTYPE> informs the browser which version of HTML (or XML) you used to write the document. Doctype is a declaration, not a tag; you can also refer to it as "document type declaration", or "DTD" for short. In HTML5, there is only one declaration and is written like this: <!DOCTYPE html>

What is an Element?

An element is a part of a webpage. In XML and HTML, an element may contain a data item or a chunk of text or an image, or perhaps nothing. A typical element includes an opening tag with some attributes, a content, and a closing tag. ANATOMY OF AN HTML ELEMENT BELOW https://mdn.mozillademos.org/files/7659/anatomy-of-an-html-element.png

What is a "block-level" element?

HTML (Hypertext Markup Language) elements are usually either "block-level" elements or "inline" elements. A block-level element occupies the entire space of its parent element (container), thereby creating a "block." Browsers typically display the block-level element with a newline both before and after the element. You can visualize them as a stack of boxes.

What is a Tag?

In HTML a tag is used for creating an element. The name of an HTML element is the name used in angle brackets such as <p> for paragraph. Note that the end tag's name is preceded by a slash character, "</p>", and that in empty elements the end tag is neither required nor allowed. If attributes are not mentioned, default values are used in each case.

What is the <div> element?

The HTML <div> element (or HTML Document Division Element) is the generic container for flow content, which does not inherently represent anything. It can be used to group elements for styling purposes (using the class or id attributes), or because they share attribute values, such as lang. It should be used only when no other semantic element (such as <article> or <nav>) is appropriate.

What is "the Web"?

The World Wide Web (abbreviated WWW or the Web) is an information space where documents and other web resources are identified by Uniform Resource Locators (URLs), interlinked by hypertext links, and can be accessed via the Internet.

What is an "inline-element"?

An inline element occupies only the space bounded by the tags that define the inline element.

What is the DOM?

The DOM (Document Object Model) is a cross-platform and language-independent API that represents and interacts with any HTML or XML document. The DOM is a document model loaded in the browser that treats an HTML, XHTML, or XML document as a node tree, wherein each node is an object representing a part of the document where each node represents part of the document (e.g. an element, text string, or comment). The DOM is one of the most-used APIs on the Web because it allows code running in a browser to access and interact with every node in the document. Nodes can be manipulated programmatically and any visible changes occurring as a result may then be reflected in the display of the document. IMAGE EXAMPLE BELOW https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/DOM-model.svg/440px-DOM-model.svg.png

What is the <html> element?

The HTML <html> element (or HTML root element) represents the root of an HTML document. All other elements must be descendants of this element. Since the <html> element is the first in a document other than comments, it is called the root element.

Who invented HTML?

Tim Berners-Lee, then a contractor at CERN (the European Organization for Nuclear Research), devised a way in 1989 for scientists to share documents over the Internet. Before that, Internet communication had been limited to plain text, using technologies such as email, FTP (File Transfer Protocol), and Usenet-based discussion boards. HTML used a content model stored on a central server but transferrable to a local workstation and viewable in a browser, simplifying access to content and making "rich" content possible (such as sophisticated text formatting and images).

What is the <head> element?

The HTML <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets.

What is an API?

An API (Application Programming Interface) is a set of features and rules that exist inside a software program enabling interaction between the software and other items, such as other software or hardware. In Web development, an API is generally a set of code features (e.g. methods, properties, events, and URLs) that a developer can use in their apps for interacting with components of a user's web browser, or other software/hardware on the user's computer, or third party websites and services. For example: The Geolocation API - can be used to retrieve location information from whatever service the user has available on their device (e.g. GPS), which can then be used in conjunction with the Google Maps APIs to for example plot the user's location on a custom map and show them what tourist attractions are in their area. The Twitter APIs - can be used to retrieve data from a user's twitter accounts, for exaple to display their latest tweets on a web page.

What is an Attribute?

An attribute extends a tag, changing tag behavior or providing metadata. An attribute always has the form name=value (giving the attribute's identifier and the attribute's associated value). Attributes usually consist of 2 parts: An attribute name An attribute value

Attributes

<tag name = "value"></tag>

What is an Attribute

Elements in HTML have attributes; these are additional values that configure the elements or adjust their behavior in various ways to meet the criteria the users want. They take the form of a key value pair (which basically means a property, and a corresponding value)

What are the 35 "block-level" elements?

<address> Contact information. <article> Article content. <aside> Aside content. <blockquote> Long ("block") quotation. <canvas> Drawing canvas. <dd> Definition description. <div> Document division. <dl> Definition list. <fieldset> Field set label. <figcaption> Figure caption. <figure> Groups media content with a caption (see <figcaption>). <footer> Section or page footer. <form> Input form. <h1>, <h2>, <h3>, <h4>, <h5>, <h6> Heading levels 1-6. <header> Section or page header. <hgroup> Groups header information. <hr> Horizontal rule (dividing line). <li> List item. <main> Contains the central content unique to this document. <nav> Contains navigation links. <noscript> Content to use if scripting is not supported or turned off. <ol> Ordered list. <output> Form output. <p> Paragraph. <pre> Preformatted text. <section> Section of a web page. <table> Table. <tfoot> Table footer. <ul> Unordered list. <video> Video player.

What are the 32 "inline elements"?

<b> <big> <i> <small> <tt> <abbr> <acronym> <cite> <code> <dfn> <em> <kbd> <strong> <samp> <time> <var> <a> <bdo> <br> <img> <map> <object> <q> <script> <span> <sub> <sup> <button> <input> <label> <select> <textarea>

What is HTML?

HTML, which stands for HyperText Markup Language, is the most basic building block of a webpage and used for creating and visually representing a webpage. It determines the content of a webpage, but not its functionality. HTML is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS), and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web. Web browsers receive HTML documents from a webserver or from local storage and render them into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document. HTML adds "markup" to standard English text. Hyper Text refers to links that connect Web pages to one another, making the World Wide Web what it is today. By creating and uploading Web pages to the Internet, you become an active participant in the World Wide Web once your site is online. HTML supports visual images and other media as well. With the help of HTML everyone can make static as well as dynamic web sites. HTML is the language that describes the structure and the semantic content of a web document. Content within a web page is tagged with HTML elements such as <head>, <title>, <body>, <article>, <section>, <p>, <div>, <span>, <img>, <picture>, and so forth. These elements form the building blocks of a website. Once again, HTML separates "content" (words, images, audio, video, and so on) from "presentation" (instructions for displaying each type of content).


Set pelajaran terkait

Biology: Ch. 29 (1-2) Short Answer

View Set

Chapter 9: Assessment and Data-Based Decision-Making

View Set

Module One Exam FLVS US History, US History (module 1), Module 1

View Set

Renaissance and Mannerism in Cinquecento Italy

View Set