2 HTML in a number of concept

	
Tags and elements: 
	Element: 
		What 
			element is the label + content. 
			Html content element is the most basic unit, the element content is what you see.			
	Tags 
		What is: 
			<body> 	 
			tag has a beginning and end tags, start a label and end 
	the relationship and labeling elements: 
		inclusion relation element contains the tag	 
	
	empty element 
		What is: 
			there is no content HTML elements <br /> 
			empty elements begin to shut down the label 
attribute (also known as properties) 
	What is: 
		written at the beginning of the tab key 


framework 
	Why: 
		by using frames, you can display more than one page in the same browser window 
		each HTML document is called a frame and each frame is independent of the other frameworks 
	do not support frames browser add <noframes> tag 
	 <frameset cols = "25%, 75%"> 
  	 <frame src = "frame_a.htm"> 
         <src = frame " frame_b.htm "> 
	 </ frameset>	 
	  noresize =" noresize "
	
		html page framework, for displaying a web page within a web page 
		<iframe src = "demo_iframe.htm" width = "200" height = "200" frameborder = "0"> </ iframe> 
	target iframe used as the link, iframe the results show the link 
		<iframes the src = "demo_iframe.htm" name = "iframe_a"> </ iframes> 
		<P> <a href="http://www.w3school.com.cn" target="iframe_a"> W3Schools .com.cn </a> </ p> 
script 
	Why: 
		JavaScript HTML pages with the more dynamic and interactive. 
	<Script of the type = "text / JavaScript"> 
		document.write ( "the Hello World!") 
	</ Script> 
	<noscript> Your Browser does not Support JavaScript! </ noscript> 

url 
	http://www.w3school.com.cn / html / index. 
	path - the path (If omitted, the document must be in the root directory of the website) on the definition of a server. 
	filename - define document / resource name of the 

	URL can only use the ASCII character set to send over the Internet 
	non-ASCII characters (such as Chinese), use the "%" + two-digit hexadecimal instead of 
	url can not contain spaces 

	Note: Always add a forward slash to subfolder. If this link Writing: href = "http://www.w3school.com.cn/html", will produce two HTTP requests to the server. 
	This is because the server will add a slash to the address, and then create a new request like this: href = "http://www.w3school.com.cn/html/" 
XHTML 
	writing html to xml format, other and html4 same, which is strictly something to write.
	

  

Guess you like

Origin www.cnblogs.com/xuanjian-91/p/10986276.html