HTML Basics |javascript| Notes | tutorials
Related articles: Zhang Xiaoxiang: JavaScript Tutorial notes: HTML Basics (i)
Instead of trying to use the ENTER key to change lines in the browser, use the <br>;
<nobr> prevent the system from automatically changing lines;
<block> shrink close;
<marquee behavior= "Slide"/"Scroll"/"alternate" direction= ' Up '/' down '/' left '/' right ' >
Use of lists:
Unordered list:
<dl>
<dt>
<dd>...</dd>
<dd>...</dd>
... ...
</dt>
<dt>
<dd>...</dd>
<dd>...</dd>
... ...
</dt>
... ... ... ...
</dl>
There are sequence tables:
<ol><li> Digital Signage;
<ul><li> Point marking;
<pre> tells the browser to show all the newline and space inside it;
Text labels
<b> Bold;
<i> italic body;
<u> underline;
<sub> subscript;
<sup> superscript;
<tt> print Word;
<cite> Citation method Word;
<em>
<strong>
<font> properties: Face,size,color;
Hyperlinks to HTML
Web pages are just one of the Internet resources;
So the HTML link can also be a link between Internet resources and another resource, not just a Web page;
<a href= "..." > link hint </a>
There is a good practice that you can set the link hint to
Pictures and other things, not just words;
If the linked protocol is mailto, you can send the message;
The target attribute's role: target can = "_blank" allows the browser to open with a new window;
The function of the Name property: Define the anchor tag;
Using the method, write the tag in the page being positioned: <a name= "Markname" >
The name of the href in the link to the page where you want to link the page is
#markname, it can be directly positioned;
If you navigate to this page, you can directly write #markname on the line;
If you want to link to this page, then directly write a # on the line;
If you want to display the directory where the page files are located, give the href an empty string;