Html elements: Difference between revisions
From wikinotes
m (Will moved page Html: elements to Html elements without leaving a redirect) |
(→Forms) |
||
Line 90: | Line 90: | ||
= Forms = | = Forms = | ||
<blockquote> | <blockquote> | ||
See [[html | See [[html forms]] | ||
</blockquote><!-- Forms --> | </blockquote><!-- Forms --> |
Latest revision as of 23:05, 30 August 2021
HTML uses elements to indicate markup.
Syntax like <p>, <pre>, <img>, ...
are all examples of elements.
NOTE:
The whole 4.X section of the HTML5 Spec describes availavle Elements and usage.
This page only contains some examples.
Documentation
Lists
Ordered List (numbered)
<ol> <li>A</li> <li>B</li> </ol>Unordered List (bullet points)
<ul> <li>A</li> <li>B</li> </ul>
Tables
<table> <tr> <th>Firstname</th> <th>Lastname</th> </tr> <tr> <td>Person</td> <td>MacPherson</td> </tr> </table>
Details/Summary
Summary creates a collapsible section of text.
<details> <summary>Copyright 1999-2014.</summary> <p> - by Refsnes Data. All Rights Reserved.</p> <p>All content and graphics on this web site are the property of the company Refsnes Data.</p> </details>
Forms
See html forms