Having a good background in HTML makes the audience easier to read. Background (backgrounds)Background color (Bgcolor)The background color property sets the background to a color. The property value can be a hexadecimal number, an RGB value, or a color nameThe third way to set the background color is to support only 16 color names in HTML4.0They are:Aqua, Black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, y
JavaScript: several methods for JS to obtain HTML elements in a webpage. Javascript tutorial
GetElementById getElementsByName getElementsByTagName
GetElementById, getElementsByName, getElementsByTagName
The last two are the collection, and the byid is only a single object.
GetElementById usage
For example:
Taoba
Reference Method on the same page:
1. Use id:
Link1.href, return a http://homepage.yesky.com
2
The following small series will bring you an in-depth understanding of the HTML FormData object. I think this is quite good. Now I will share it with you and give you a reference. Let's take a look at it together. I wish you a pleasant game. FormData is a new encapsulation object developed by the HTML5 standard, with the FormData object, you can easily create form data through javascript and send it directly to the server using ajax.
Current browse
After learning from the previous six sections, we have a rough idea of the basics of HTML tutorials, so let's move on backwards, so let's talk about chunks in HTML.Block ***************Most of the elements in 1.HTML are defined as block-level elements or inline elements, and block-level elements start with a new line when displayed, such as the H1 tag, p tag, OL label, and table tag we talked about earlier.
Tutorial in writing HTML files, we do not have to consider too thin settings, and do not care about the length of the paragraph will be cut off by the browser. Because, in the HTML language specification, whenever the browser window is narrowed, the browser automatically turns the text on the right to the next line. Therefore, the writer should add Take a look at
knowledge unrelated to logicHTML URL (same resource Locator)
Brief introduction:
Something called a URL (Uniform Resource Locator) is used to address documents (or other data) on the World Wide Web. A full URL.Example: http://www.w3school.sinaapp.com/html/lastpage.htmlFollow these syntax rules:Scheme://host.domain:port/path/filenameScheme defines the type of Internet service. The most popular type is HTTP.Domain defines the Internet doma
PHP $ _ GET gets HTML Form (Form) or url data. I have nothing to do today to tell you that I learned php many years ago to learn how to use get global variables. For more information, see. I. $ _ GET is the method used to get the table. it's nothing to do today. I told you that I learned php many years ago and learned how to use GET global variables, for more information about getting started, see.
1. $ _ GET is used to obtain data in the form of get
HTML Dom tutorial 49-javascript number object
In JavaScript, numbers are a basic data type.
Javascript supports the number object, which is the packaging object of the original value.
When necessary, JavaScript will automatically convert between the original data and the object.
The constructor number () can be used directly as a conversion function instead of the new operator. When you call numb
referenced in Web authoring with link ref.3. Custom ThemesIf you are not satisfied with the built-in theme, you can also customize it as follows:Define a topic class firstpublic class CustomTheme:Telerik.Windows.Controls.Theme{}The source is then indicated in the constructor of this classPublic Customtheme (){This. Source = new Uri ("/telerik.windows.themes.customtheme;component/themes/generic.xaml", urikind.relative);}The things in the back are exactly the same as the one mentioned earlier.Ori
There are two ways to use Third, the general wording of the reference external JavaScript file is: (note that you should not add extra in the middle of tags JavaScript code. If it is included, it is ignored. )Iv. in comparison with external references, external references are maintainable and cacheable, so it is recommended that external references be used.Five, the location of the label storage. OrFor performance and optimization of front-end pages, the second position is undoubtedly better.VI
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.