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 menu element (<menu>) represents an unordered list of menu choices, or commands.

There is no limitation to the depth and nesting of lists defined with the <menu> , <ol> and <ul> elements.

Usage note: The <menu> and <ul> both represent an unordered list of items. They differ in the way that the <ul> element only contains items to display while the <menu> element contains interactive items, to act on.
Note: This element was deprecated in HTML4, but reintroduced in HTML5.
public interface MenuElement extends Element {
  boolean isCompact();
  void setCompact(boolean arg);
New to GrepCode? Check out our FAQ X