html anchors and other basic common tags

Posted by aaaaCHoooo on Sat, 27 Jun 2020 04:41:46 +0200

<!DOCTYPE html>
<html><!-- definition html file -->
	<head>
		<meta charset="utf-8" />
		<hr />level
		<title>new</title>
		<a href="http://www.baidu.com "> hyperlink</a>
		<h1 align="center">Title 1</h1><!-- level align Alignment -->
		<h2 id="abc">Title 2</h2><!-- id Value is unique, relative to its ID number -->
		<h3 class="12">Title 3</h3><!-- class It's a lot of names, like, -->
		<!-- Ten people named Xiao Ming will have ten labels class Set to the same, you can set the style at the same time -->
		<h4>Title 4</h4>
		<h5>Title 5</h5>
		<h6>Title 6</h6>
		<p>paragraph</p><br /><!-- Function is article segmentation --><!-- <br />Wrap label -->
		<img src="img/a.png"/>
	</head>
	<style language="javascript">/* Specifies the in line style of the element, which is used to insert the script language */
	</style>
	<body bgcolor="aqua"><!-- body Is the body of the document --><!-- bgcolor background color  -->
		<table bordercolorlight="double" bordercolor="red" bordercolordark="" ><!-- form border Set borders -->
			<tr><!-- That's ok -->
				<th><a title="Tips">asda</a></th><!-- Cells with center bold attribute --><!-- title It's a text message that will be displayed when the mouse is over it -->
				<td><a>adad</a></td><!-- Default cell -->
			</tr>
		</table>
		<p style="text-align: center;font-family: fixedsys;">style attribute</p>
		<del>Strikeout</del>
		<ins>Define caret, underline, and<u>u</u>Same, not recommended<u>u</u></ins>
		<sup>Superscript</sup>
		<sub>subscript</sub>
		<strong>Accentuation statement</strong>
		<small>Define small print</small>
		<i>Italics</i>
		<em>Focus on fonts</em>
		<big>Big mouse</big>
		<b>bold</b>
		<!-- Computer output label -->
		<code>Define computer code</code>
		<kbd>Define keyboard code</kbd>
		<samp>Define computer code style</samp>
		<var>Defining variables</var>
		<pre>Define default format text</pre>
		<!-- References, references and definitions of terms -->
		<abbr title="user name">UN</abbr>
		<!-- 		<abbr> Element defines abbreviations or acronyms.
		Tagging abbreviations enables you to
		Translation systems and search engines provide useful information. -->
		<acronym>user name is login</acronym><!-- Define acronyms -->
		<address>Define address</address>
		<bdo>direction</bdo>
		<blockquote>Define long references</blockquote>
		<q>Define short Quotes</q>
		<cite>Definition reference</cite>
		<dfn>Define a definition item</dfn>
		<p>Here is p<q>Here is q</q></p>
		<q>therefore q Double quotation marks will be added to the contents</q>
		<blockquote>text-indent</blockquote>
	<!-- 	 <dfn> Element defines the definition of an item or abbreviation.
		<dfn> According to HTML5 The description in the standard is a little complicated:
		1. If set <dfn> Element's title Property to define the item: -->
		<p><dfn title="User Name">UN</dfn>written words</p>
		<!-- 2. If <dfn> Element contains a <abbr> Elements,
		be title Define project: -->
		<p><dfn><abbr title="User Name">UN</abbr></dfn></p>
		<!-- <address> Element defines the contact information for a document or article -->
		<address>
			adfasdf<br />
			adfasdf<br />
		</address>
		<!-- <cite> Element defines the title of the work.
		Browsers are usually shown in italics <cite> Element. -->
		<p><cite>Italics</cite>by Edward</p>
		<!-- <bdo> Element to override the current text direction: -->
		<bdo dir="rtl">These words will be written from right to left</bdo><!-- Reverse writing -->
		<!-- <abbr>	Define abbreviations or acronyms.
		<address>	Defines the contact information for the author or owner of the document.
		<bdo>	Defines the text direction.
		<blockquote>	Define sections that are referenced from other sources.
		<dfn>	Define the definition of an item or acronym.
		<q>	Defines a short inline reference.
		<cite>	Define the title of the work. -->
		<!-- Next is the computer code
		var person={
			fristName:"Bill",
			lastName:"Gates",
			age:50,
			eyeColor:"blue"
		} -->
		<!-- <kbd> Element definition keyboard input: -->
		<kbd>File Open</kbd>
		<!-- <samp> Example of element definition computer output: -->
		<samp>
			Example of computer input
		</samp>
		<!-- <code> Element definition programming code example: -->
		<code>
			var person={fristName:"Bill",lastName:"Gates",age:50,eyeColor:"blue"}
		</code>
		<font><!-- font Set the attributes to specify the font, font size, and font color of the text. -->
		<a name="top">Here's the anchor at the top</a><br />
		<a href="#1 "> the first < / a > < br / >
		<a href="#2 "> the second term < / a > < br / >
		<a href="#3 "> the third term < / a > < br / >
		<a href="#4 "> the 4th < / a > < br / >
		<a href="#5 "> the 5th < / a > < br / >
		<a href="#6 "> the 6th < / a > < br / >
		
		<h2>Successive presidents of the United States</h2>
		●The first term(1789-1797)<a name="1">This is the first anchor</a><br />
		Name: George·Washington<br />
		George Washington<br />
		Birth and death: 1732-1799<br />
		Party: Federal<br />
		●2nd term(1797-1801)<a name="2">This is the second anchor</a><br />
		Name: John·Adams <br />
		John Adams<br />
		Birth and death: 1735-1826<br />
		Political party: Federal<br />
		●The third term(1801-1809)<a name="3">This is the third anchor</a><br />
		Name: Thomas·Jefferson<br />
		Thomas Jefferson<br />
		Birth and death: 1743-1826<br />
		Party: the people's Republic of China<br />
		●4th term(1809-1817)<a name="4">This is the fourth anchor</a><br />
		Name: James·Madison<br />
		James Madison<br />
		Birth and death: 1751-1836<br />
		Party: the people's Republic of China<br />
		●5th term(1817-1825)<a name="5">This is the anchor for the fifth term</a><br />
		Name: James·Monroe<br />
		James Monroe<br />
		Birth and death: 1758-1831<br />
		Party: the people's Republic of China<br />
		</font>
	</body>
</html>

< browse

level new Hyperlinks

Title 1

Title 2

Title 3

Title 4

Title 5
Title 6

paragraph


asda adad

style attribute

Strikeout Define insertion word, underline effect, same as u, u is not recommended Superscript subscript accent statement Define small print Italics Focus on fonts Big mouse bold Define computer code Define keyboard code Define computer code style Defining variables
Define default format text
UN user name is login Define address direction
Define long references
Define short Quotes Definition quotation Define a definition item

This is p, this is q

So q will be double quoted
text-indent

UN text

UN

adfasdf
adfasdf

Italics by Edward

These words will be written from right to left File Open Example of computer input var person={fristName:"Bill",lastName:"Gates",age:50,eyeColor:"blue"} Here's the anchor at the top
The first term
2nd term
The third term
4th term
5th term
6th term
	<h2>Successive presidents of the United States</h2>
	● the first term (1789-1797) < a name = "1" > here is the anchor of the first term < / a > < br / >
	Name: George Washington < br / >
	George Washington<br />
	Birth and death: 1732-1799 < br / >
	Political parties: Federal < br / >
	● the second term (1797-1801) < a name = "2" > here is the anchor of the second term < / a > < br / >
	Name: John Adams < br / >
	John Adams<br />
	Birth and death: 1735-1826 < br / >
	Political parties: Federal < br / >
	● the third term (1801-1809) < a name = "3" > here is the anchor of the third term < / a > < br / >
	Name: Thomas Jefferson < br / >
	Thomas Jefferson<br />
	Birth and death: 1743-1826 < br / >
	Party: the people's Republic of China < br / >
	● the 4th (1809-1817) < a name = "4" > here is the 4th anchor < / a > < br / >
	Name: James Madison < br / >
	James Madison<br />
	Birth and death: 1751-1836 < br / >
	Party: the people's Republic of China < br / >
	● the 5th term (1817-1825) < a name = "5" > here is the anchor of the 5th term < / a > < br / >
	Name: James Monroe < br / >
	James Monroe<br />
	Birth and death: 1758-1831 < br / >
	Party: the people's Republic of China < br / >
	</font>
</body>

Topics: Attribute Javascript html5 Programming