All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.helger.html.CHTMLAttributes Maven / Gradle / Ivy

/**
 * Copyright (C) 2014-2016 Philip Helger (www.helger.com)
 * philip[at]helger[dot]com
 *
 * 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 com.helger.html;

import javax.annotation.concurrent.Immutable;

/**
 * Contains constant HTML attribute names.
 *
 * @author Philip Helger
 */
@Immutable
public final class CHTMLAttributes
{
  public static final String ABBR = "abbr";
  public static final String ACCEPT = "accept";
  public static final String ACCEPTCHARSET = "accept-charset";
  public static final String AUTOCOMPLETE = "autocomplete";
  public static final String ACCESSKEY = "accesskey";
  public static final String ACTION = "action";
  public static final String ALIGN = "align";
  public static final String ALT = "alt";
  public static final String ARCHIVE = "archive";
  public static final String ASYNC = "async";
  public static final String AUTOFOCUS = "autofocus";
  public static final String AUTOPLAY = "autoplay";
  public static final String AUTOSTART = "autostart";
  public static final String AXIS = "axis";
  public static final String BGCOLOR = "bgcolor";
  public static final String BASE = "base";
  public static final String BORDER = "border";
  public static final String CELLPADDING = "cellpadding";
  public static final String CELLSPACING = "cellspacing";
  public static final String CHALLENGE = "challenge";
  public static final String CHAR = "char";
  public static final String CHAROFF = "charoff";
  public static final String CHARSET = "charset";
  public static final String CHECKED = "checked";
  public static final String CITE = "cite";
  public static final String CLASS = "class";
  public static final String CLASSID = "classid";
  public static final String CLEAR = "clear";
  public static final String CODE = "code";
  public static final String CODEBASE = "codebase";
  public static final String CODETYPE = "codetype";
  public static final String COLOR = "color";
  public static final String COLS = "cols";
  public static final String COLSPAN = "colspan";
  public static final String COMMAND = "command";
  public static final String COMPACT = "compact";
  public static final String CONTENT = "content";
  public static final String CONTENTEDITABLE = "contenteditable";
  public static final String CONTEXTMENU = "contextmenu";
  public static final String CONTROLLER = "controller";
  public static final String CONTROLS = "controls";
  public static final String COORDS = "coords";
  public static final String CROSSORIGIN = "crossorigin";
  public static final String DATA = "data";
  public static final String DATETIME = "datetime";
  public static final String DECLARE = "declare";
  public static final String DEFAULT = "default";
  public static final String DEFER = "defer";
  public static final String DIR = "dir";
  public static final String DIRNAME = "dirname";
  public static final String DISABLED = "disabled";
  public static final String DRAGGABLE = "draggable";
  public static final String DROPZONE = "dropzone";
  public static final String ENCTYPE = "enctype";
  public static final String ENDTIME = "endtime";
  public static final String FACE = "face";
  public static final String FOR = "for";
  public static final String FORM = "form";
  public static final String FORMACTION = "formaction";
  public static final String FORMENCTYPE = "formenctype";
  public static final String FORMMETHOD = "formmethod";
  public static final String FORMNOVALIDATE = "formnovalidate";
  public static final String FORMTARGET = "formtarget";
  public static final String FRAME = "frame";
  public static final String FRAMEBORDER = "frameborder";
  public static final String HEADERS = "headers";
  public static final String HEIGHT = "height";
  public static final String HIDDEN = "hidden";
  public static final String HIGH = "high";
  public static final String HREF = "href";
  public static final String HREFLANG = "hreflang";
  public static final String HSPACE = "hspace";
  public static final String HTTP_EQUIV = "http-equiv";
  public static final String ICON = "icon";
  public static final String ID = "id";
  public static final String INPUTMODE = "inputmode";
  public static final String ISMAP = "ismap";
  public static final String KEYTYPE = "keytype";
  public static final String KIND = "kind";
  public static final String LABEL = "label";
  public static final String LANG = "lang";
  public static final String LANGUAGE = "language";
  public static final String LIST = "list";
  public static final String LOOP = "loop";
  public static final String LONGDESC = "longdesc";
  public static final String LOW = "low";
  public static final String MARGINHEIGHT = "marginheight";
  public static final String MARGINWIDTH = "marginwidth";
  public static final String MASTERSOUND = "mastersound";
  public static final String MAX = "max";
  public static final String MAXLENGTH = "maxlength";
  public static final String MEDIA = "media";
  public static final String MENU = "menu";
  public static final String METHOD = "method";
  public static final String MIN = "min";
  public static final String MINLENGTH = "minlength";
  public static final String MULTIPLE = "multiple";
  public static final String MUTED = "muted";
  public static final String NAME = "name";
  public static final String NOHREF = "nohref";
  public static final String NORESIZE = "noresize";
  public static final String NOSHADE = "noshade";
  public static final String NOVALIDATE = "novalidate";
  public static final String NOWRAP = "nowrap";
  public static final String OBJECT = "object";
  public static final String OPEN = "open";
  public static final String OPTIMUM = "optimum";
  public static final String PALETTE = "palette";
  public static final String PATTERN = "pattern";
  public static final String PLACEHOLDER = "placeholder";
  public static final String PLAYCOUNT = "playcount";
  public static final String PLUGINSPAGE = "pluginspage";
  public static final String PLUGINURL = "pluginurl";
  public static final String PRELOAD = "preload";
  public static final String PROFILE = "profile";
  public static final String QUALITY = "quality";
  public static final String RADIOGROUP = "radiogroup";
  public static final String READONLY = "readonly";
  public static final String REQUIRED = "required";
  public static final String REL = "rel";
  public static final String REV = "rev";
  public static final String REVERSED = "reversed";
  public static final String ROLE = "role";
  public static final String ROWS = "rows";
  public static final String ROWSPAN = "rowspan";
  public static final String RULES = "rules";
  public static final String SANDBOX = "sandbox";
  public static final String SCALE = "scale";
  public static final String SCHEME = "scheme";
  public static final String SCOPE = "scope";
  public static final String SCROLLING = "scrolling";
  public static final String SELECTED = "selected";
  public static final String SHAPE = "shape";
  public static final String SIZE = "size";
  public static final String SIZES = "sizes";
  public static final String SPAN = "span";
  public static final String SPELLCHECK = "spellcheck";
  public static final String SRC = "src";
  public static final String SRCLANG = "srclang";
  public static final String SRCSET = "srcset";
  public static final String STANDBY = "standby";
  public static final String START = "start";
  public static final String STARTTIME = "starttime";
  public static final String STEP = "step";
  public static final String STYLE = "style";
  public static final String SUMMARY = "summary";
  public static final String SWLIVECONNECT = "swliveconnect";
  public static final String TABINDEX = "tabindex";
  public static final String TARGET = "target";
  public static final String TITLE = "title";
  public static final String TRANSLATE = "translate";
  public static final String TYPE = "type";
  public static final String UNITS = "units";
  public static final String USEMAP = "usemap";
  public static final String VSPACE = "vspace";
  public static final String VALIGN = "valign";
  public static final String VALUE = "value";
  public static final String VALUETYPE = "valuetype";
  public static final String VOLUME = "volume";
  public static final String WIDTH = "width";
  public static final String WRAP = "wrap";

  /** The standard prefix for HTML5 custom attributes */
  public static final String HTML5_PREFIX_DATA = "data-";

  /** The standard prefix for ARIA attributes */
  public static final String PREFIX_ARIA = "aria-";

  public static final String ARIA_ACTIVEDESCENDANT = "aria-activedescendant";
  public static final String ARIA_ATOMIC = "aria-atomic";
  public static final String ARIA_AUTOCOMPLETE = "aria-autocomplete";
  public static final String ARIA_BUSY = "aria-busy";
  public static final String ARIA_CHECKED = "aria-checked";
  public static final String ARIA_CONTROLS = "aria-controls";
  public static final String ARIA_DESCRIBEDBY = "aria-describedby";
  public static final String ARIA_DISABLED = "aria-disabled";
  public static final String ARIA_DROPEFFECT = "aria-dropeffect";
  public static final String ARIA_EXPANDED = "aria-expanded";
  public static final String ARIA_FLOWTO = "aria-flowto";
  public static final String ARIA_GRABBED = "aria-grabbed";
  public static final String ARIA_HASPOPUP = "aria-haspopup";
  public static final String ARIA_HIDDEN = "aria-hidden";
  public static final String ARIA_INVALID = "aria-invalid";
  public static final String ARIA_LABEL = "aria-label";
  public static final String ARIA_LABELLEDBY = "aria-labelledby";
  public static final String ARIA_LEVEL = "aria-level";
  public static final String ARIA_LIVE = "aria-live";
  public static final String ARIA_MULTILINE = "aria-multiline";
  public static final String ARIA_MULTISELECTABLE = "aria-multiselectable";
  public static final String ARIA_ORIENTATION = "aria-orientation";
  public static final String ARIA_OWNS = "aria-owns";
  public static final String ARIA_POSINSET = "aria-posinset";
  public static final String ARIA_PRESSED = "aria-pressed";
  public static final String ARIA_READONLY = "aria-readonly";
  public static final String ARIA_RELEVANT = "aria-relevant";
  public static final String ARIA_REQUIRED = "aria-required";
  public static final String ARIA_SELECTED = "aria-selected";
  public static final String ARIA_SETSIZE = "aria-setsize";
  public static final String ARIA_SORT = "aria-sort";
  public static final String ARIA_VALUEMAX = "aria-valuemax";
  public static final String ARIA_VALUEMIN = "aria-valuemin";
  public static final String ARIA_VALUENOW = "aria-valuenow";
  public static final String ARIA_VALUETEXT = "aria-valuetext";

  // http://msdn.microsoft.com/en-us/library/ie/dn265018%28v=vs.85%29.aspx
  public static final String X_MS_FORMAT_DETECTION = "x-ms-format-detection";

  private CHTMLAttributes ()
  {}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy