1. About HTML (Basic)
- The,<cite> tag defines the title of the work in HTML5.
- In HTML 4.01, the,<cite> tag defines a reference.
- Inline elements (such as a tag), when in the document flow because it is the inline element, it is not possible to set the width height;
- When absolute positioning or floating is set, a block box (which becomes a block element) is created, so you can set the width height.
- HTML provides 5 space entities with different widths, non-breaking spaces ( )
- Is the width of the regular space and can run on all major browsers.
- Several other spaces (      ‌‍) vary in width across browsers.
- Under XHTML all tags are closed, p,br need to be closed, labels are not uppercase, p is lowercase.
- Both nbsp and BR must be included in the container.
- Kill Style separation Text-indent
- It is unreasonable to use nbsp to control indentation. You should do this with CSS.
2. Block elements and inline elements
Block level:
- Div, p, form,
- UL, Li, ol, DL,
- form, address, fieldset, HR, menu, table
In-line
- Span,img (Inline-block),
- Input, label,
- Select,textarea,cite,
- STRONG,EM,BR,
<P>the elder brother writes is not the HTML, is lonely. <P>I say:<BR>don't be obsessed with brother, brother is just a legend<HR><P>The elder brother writes is not the HTML, is lonely.</P><P><cite>I</cite>said:<BR/><Q>Don't be obsessed with brother, brother is just a legend</Q> </P>
About HTML (Basic)