This is a paragraph with an image, followed by a list and a form and two links. All together, they form a web page.
to infinity and beyond
- A set of nodes - representing the document - organized in a tree structure - navigable in any direction (parent, children, previous/next siblings) - A representation of an HTML document - tree of elements - each with possible attributes - With APIs - to manipulate the tree - available for most existing languages - (most importantly in this course, Javascript) ## Basic HTML Elements {libyli} ```html <h3>Demo</h3> <p class="hummm yeah"> This is a paragraph with an image then a list and a form and two links </p> <img src="media/kitten.jpg" width="200px" alt="kitten"> <ol> <li>first interesting element</li> <li>second element</li> </ol> <form> <input type="text" id="datext" placeholder="name..."> <input type="submit" value="go"> </form> <p class="links"> <a href="http://graphhopper.com/">to infinity</a> and <a href="https://cozy.io/">beyond</a> </p> {} ``` - Headings (`h1`...`h6`), paragraphs (`p`), ordered (numbered) and un-ordered lists (`ol`, `ul`), list items (`li`), images (`img`), links (`a`) {dense} - More: section, nav, article, code, sup, sub, blockquote, pre, table/tr/td, … {dense} - un-semantic blocks element (`div`) and inline element (`span`) {dense} # HTML: Questions? Demo? # @copy:#plan: %+class:inred: .styling # CSS![]()
a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML, and XML documents
This is a first paragraph.
This is a second paragraph.
/ − − will be replaced by the title