Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * Copyright 2011 Tomas Schlosser
  *
  * 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 org.anadix.html;
Defines a horizontal line

Author(s):
tomason
Version:
$Id: $
public class HrTag extends CommonAttributes {
	HrTag(BigInteger idHtmlElement parentAttributes attributes) {
		super(id"hr"parentattributes);
	}

Specifies the alignment of an element

Returns:
alignment of the element
	public String getAlign() {
		return getAttribute("align");
	}

Specifies that a element should render in one solid color (noshaded), instead of a shaded color

Returns:
whether to be shaded
	public String getNoshade() {
		return getAttribute("noshade");
	}

Specifies the height of a
element

Returns:
height of element
	public String getSize() {
		return getAttribute("size");
	}

Specifies the width of a
element

Returns:
width of element
	public String getWidth() {
		return getAttribute("width");
	}
New to GrepCode? Check out our FAQ X