1 /*
2 * Copyright (c) 2003 World Wide Web Consortium,
3 * (Massachusetts Institute of Technology, Institut National de
4 * Recherche en Informatique et en Automatique, Keio University). All
5 * Rights Reserved. This program is distributed under the W3C's Software
6 * Intellectual Property License. This program is distributed in the
7 * hope that it will be useful, but WITHOUT ANY WARRANTY; without even
8 * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9 * PURPOSE.
10 * See W3C License http://www.w3.org/Consortium/Legal/ for more details.
11 */
12
13 package org.w3c.dom.html2;
14
15 /**
16 * Create a horizontal rule. See the HR element definition in HTML 4.01.
17 * <p>See also the <a href='http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109'>Document Object Model (DOM) Level 2 HTML Specification</a>.
18 */
19 public interface HTMLHRElement extends HTMLElement {
20 /**
21 * Align the rule on the page. See the align attribute definition in HTML
22 * 4.01. This attribute is deprecated in HTML 4.01.
23 */
24 public String getAlign();
25 /**
26 * Align the rule on the page. See the align attribute definition in HTML
27 * 4.01. This attribute is deprecated in HTML 4.01.
28 */
29 public void setAlign(String align);
30
31 /**
32 * Indicates to the user agent that there should be no shading in the
33 * rendering of this element. See the noshade attribute definition in
34 * HTML 4.01. This attribute is deprecated in HTML 4.01.
35 */
36 public boolean getNoShade();
37 /**
38 * Indicates to the user agent that there should be no shading in the
39 * rendering of this element. See the noshade attribute definition in
40 * HTML 4.01. This attribute is deprecated in HTML 4.01.
41 */
42 public void setNoShade(boolean noShade);
43
44 /**
45 * The height of the rule. See the size attribute definition in HTML 4.01.
46 * This attribute is deprecated in HTML 4.01.
47 */
48 public String getSize();
49 /**
50 * The height of the rule. See the size attribute definition in HTML 4.01.
51 * This attribute is deprecated in HTML 4.01.
52 */
53 public void setSize(String size);
54
55 /**
56 * The width of the rule. See the width attribute definition in HTML 4.01.
57 * This attribute is deprecated in HTML 4.01.
58 */
59 public String getWidth();
60 /**
61 * The width of the rule. See the width attribute definition in HTML 4.01.
62 * This attribute is deprecated in HTML 4.01.
63 */
64 public void setWidth(String width);
65
66 }