HTML - robbiehume/CS-Notes GitHub Wiki
React
- Material UI: link; UI examples
Vue
- Vuetify
- PrimeVue
- Vue Material
- In VS Code, if you type
doc
then hit tab, it will import boilerplate HTML template
General Tags:
-
<span>
: inline container used to markup a part of a text or document -
<br>
: single line break -
<hr>
: defines a thematic change in the content
Forms and Input:
-
<form>
: form for user input -
<input>
: input control -
<textarea>
: multiline input control -
<button>
: clickable button -
<select>
: drop-down list
-
value
vsname
attribute-
value
is the property that defines the input data while thename
property defines the input field name that can be used for form handling in backend languages like PHP -
name
should be unique, while the samevalue
can be used for multiple tags
-
-
Render
\n
as newline: link -
Open link in new tab:
<a href="example.com" target="_blank">example.com</a>