HTML - robbiehume/CS-Notes GitHub Wiki
React
- Material UI: link; UI examples
Vue
- Vuetify
- PrimeVue
- Vue Material
- In VS Code, if you type
docthen 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
-
valuevsnameattribute-
valueis the property that defines the input data while thenameproperty defines the input field name that can be used for form handling in backend languages like PHP -
nameshould be unique, while the samevaluecan be used for multiple tags
-
-
Render
\nas newline: link -
Open link in new tab:
<a href="example.com" target="_blank">example.com</a>