properties that apply to most HTML elements : Id,class,style,title;
1. The browser automatically adds a blank line before or after the paragraph.
All consecutive empty lines (line breaks) in the 2.HTML code are also displayed as a single space.
HTML citations, references, and tag definitions :
<abbr> Define an abbreviation,<address> define an address,
<bdo> Define text orientation,
<blockquote> Define a long reference,<q> to define the short cited term,
<cite> Define references, citations,
<dfn> define a definition project.
HTML text formatting tags :
<b>, bold text
<em>, text-focused
<i>, italic character
<small>, small character
<strong>, aggravating tone
<sub>, subscript word
<sup>, superscript word
<ins>, inserting words
<del>, delete word
HTML "Computer Output" tab :
<code>, defining computer code
<kbd>, defining keyboard codes
<samp>, defining a sample of computer code
<var>, defining variables
<pre>, defining pre-formatted text
links in HTML :
By default, the link will appear in the browser in the following form:
- A link that has not been visited is displayed in a blue font with an underscore .
- The visited links appear purple with underscores .
- When you click the link, the link appears in Red with an underscore .
Note: If you set CSS styles for these hyperlinks, the presentation style is displayed according to the CSS settings.
Always add a forward slash to a subfolder:
- If you write this link: href= "http://www.google.com", it will generate two HTTP requests to the server.
- This is because the server adds a forward slash to this address, and then creates a new request, like this: href= "http://www.google.com/".
HTML Note 2 (for personal use)