1. Usually label <strong> replace bold label <b> to use, <em> replace <i> label to use.
2. In the
Elements that can be added to the head area are labeled: <title>, <style>, <meta>, <link>, <script>, <noscript>, and < Base>.
The <base> tag describes the basic link address/link target, which is the default link for all the link labels in the HTML document
<link> tags are typically used to link to style sheets
The <style> tag defines the style file reference address for the HTML document.
In the <style> element you need to specify a style file to render the HTML document
The <meta> tag provides metadata. Metadata is not displayed on the page, but is parsed by the browser
The <script> tag is used to load script files, such as: JavaScript.
3. How do I use CSS?
CSS is used in HTML 4 and is introduced for better rendering of HTML elements.
CSS can be added to HTML in the following ways:
- Inline style-use the Style property in HTML elements
- Internal style sheet-use <style> elements to include CSS in the header
- External references-Using external CSS files
The best way to do this is by referencing the CSS file externally.
4.
The syntax for defining an image is:
url" alt= "some_text" >URL refers to the location where the image is stored. The Alt attribute is used to define a string of prepared, replaceable text for an image (the replacement Text property tells the reader what information they have lost when the browser fails to load the image.) Good habit!)If the image specifies a height width, the specified size (good habit) is retained when the page loads. Advice: Use pictures with caution5. HTML <div> elements: (1) a container for combining other HTML elements; (2) Document layout6. HTML <span> elements: The use of the composition of the container, the combination of inline elements7. Creating an advanced layout is time consuming, and using a template is a quick option.
Basic knowledge of HTML (keep for myself)