Zhang Xiaoxiang: JavaScript Tutorial notes: HTML Basics (ii)

Source: Internet
Author: User
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;



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.