Skip to content

Instantly share code, notes, and snippets.

@pritul2
Created May 15, 2022 11:18
Show Gist options
  • Save pritul2/a5f33a971d864ba33ee210f6a644dca7 to your computer and use it in GitHub Desktop.
Save pritul2/a5f33a971d864ba33ee210f6a644dca7 to your computer and use it in GitHub Desktop.
HTML quottation --> same as medium quotation
HTML image map --> Create the clickable areas on the image
Add icon to webpage --> HTML favicon
p and div vs when to use span --> p when we want to occupy new line vs span dont start in new line and dont add extra space
class vs id --> class can be assigned to many elements but id wont
<details> --> To provide small information in the form of widget
<figcaption> --> To provide the caption to the figure
&nbsp --> To add extra space ; &lt (less than) ; &gt (greater than) ; &amp (ampersand)
Form related attributes:-
action --> url where to send the form values
target --> To display response in new tab or same tab
autocomplete --> Whether to support autocompletion or not
readonly --> To set read only field
pattern --> For validation purpose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment