Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2012 Google Inc.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  * use this file except in compliance with the License. You may obtain a copy of
  * the License at
  * 
  * http://www.apache.org/licenses/LICENSE-2.0
  * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package elemental.html;
import  elemental.html.*;

The html object exposes the HTMLHtmlElement ( HTML 4 HTMLHtmlElement) interface and serves as the root node for a given HTML document.  This object inherits the properties and methods described in the element section.  In HTML5, this interface inherits from HTMLElement, but provides no other members.

You can retrieve the html object for a document by obtaining the value of the document.documentElement property.

public interface HtmlElement extends Element {
  void setManifest(String arg);


  
Version of the HTML Document Type Definition that governs this document.
  void setVersion(String arg);
New to GrepCode? Check out our FAQ X