1 50 51 package com.lowagie.text.html; 52 53 56 57 public class HtmlTags { 58 59 60 public static final String HTML = "html"; 61 62 63 public static final String HEAD = "head"; 64 65 66 public static final String CONTENT = "content"; 67 68 69 public static final String META = "meta"; 70 71 72 public static final String SUBJECT = "subject"; 73 74 75 public static final String KEYWORDS = "keywords"; 76 77 78 public static final String AUTHOR = "author"; 79 80 81 public static final String TITLE = "title"; 82 83 84 public static final String SCRIPT = "script"; 85 86 87 public static final String LANGUAGE = "language"; 88 89 90 public static final String JAVASCRIPT = "JavaScript"; 91 92 93 public static final String BODY = "body"; 94 95 96 public static final String JAVASCRIPT_ONLOAD = "onLoad"; 97 98 99 public static final String JAVASCRIPT_ONUNLOAD = "onUnLoad"; 100 101 102 public static final String TOPMARGIN = "topmargin"; 103 104 105 public static final String BOTTOMMARGIN = "bottommargin"; 106 107 108 public static final String LEFTMARGIN = "leftmargin"; 109 110 111 public static final String RIGHTMARGIN = "rightmargin"; 112 113 115 116 public static final String CHUNK = "font"; 117 118 119 public static final String CODE = "code"; 120 121 122 public static final String VAR = "var"; 123 124 125 public static final String ANCHOR = "a"; 126 127 128 public static final String ORDEREDLIST = "ol"; 129 130 131 public static final String UNORDEREDLIST = "ul"; 132 133 134 public static final String LISTITEM = "li"; 135 136 137 public static final String PARAGRAPH = "p"; 138 139 140 public static final String NAME = "name"; 141 142 143 public static final String REFERENCE = "href"; 144 145 146 public static final String [] H = new String [6]; 147 static { 148 H[0] = "h1"; 149 H[1] = "h2"; 150 H[2] = "h3"; 151 H[3] = "h4"; 152 H[4] = "h5"; 153 H[5] = "h6"; 154 } 155 156 158 159 public static final String FONT = "face"; 160 161 162 public static final String SIZE = "point-size"; 163 164 165 public static final String COLOR = "color"; 166 167 168 public static final String EM = "em"; 169 170 171 public static final String I = "i"; 172 173 174 public static final String STRONG = "strong"; 175 176 177 public static final String B = "b"; 178 179 180 public static final String S = "s"; 181 182 183 public static final String U = "u"; 184 185 186 public static final String SUB = "sub"; 187 188 189 public static final String SUP = "sup"; 190 191 192 public static final String HORIZONTALRULE = "hr"; 193 194 196 197 public static final String TABLE = "table"; 198 199 200 public static final String ROW = "tr"; 201 202 203 public static final String CELL = "td"; 204 205 206 public static final String HEADERCELL = "th"; 207 208 209 public static final String COLUMNS = "cols"; 210 211 212 public static final String CELLPADDING = "cellpadding"; 213 214 215 public static final String CELLSPACING = "cellspacing"; 216 217 218 public static final String COLSPAN = "colspan"; 219 220 221 public static final String ROWSPAN = "rowspan"; 222 223 224 public static final String NOWRAP = "nowrap"; 225 226 227 public static final String BORDERWIDTH = "border"; 228 229 230 public static final String WIDTH = "width"; 231 232 233 public static final String BACKGROUNDCOLOR = "bgcolor"; 234 235 236 public static final String BORDERCOLOR = "bordercolor"; 237 238 239 public static final String ALIGN = "align"; 240 241 242 public static final String LEFT = "left"; 243 244 245 public static final String RIGHT = "right"; 246 247 248 public static final String HORIZONTALALIGN = "align"; 249 250 251 public static final String VERTICALALIGN = "valign"; 252 253 254 public static final String TOP = "top"; 255 256 257 public static final String BOTTOM = "bottom"; 258 259 261 262 public static final String IMAGE = "img"; 263 264 265 public static final String URL = "src"; 266 267 268 public static final String ALT = "alt"; 269 270 271 public static final String PLAINWIDTH = "width"; 272 273 274 public static final String PLAINHEIGHT = "height"; 275 276 277 public static final String NEWLINE = "br"; 278 279 281 282 public static final String ALIGN_LEFT = "Left"; 283 284 285 public static final String ALIGN_CENTER = "Center"; 286 287 288 public static final String ALIGN_RIGHT = "Right"; 289 290 291 public static final String ALIGN_JUSTIFIED = "Justify"; 292 293 294 public static final String ALIGN_TOP = "Top"; 295 296 297 public static final String ALIGN_MIDDLE = "Middle"; 298 299 300 public static final String ALIGN_BOTTOM = "Bottom"; 301 302 303 public static final String ALIGN_BASELINE = "Baseline"; 304 305 306 public static final String DEFAULT = "Default"; 307 308 309 public static final String DIV = "div"; 310 311 312 public static final String SPAN = "span"; 313 314 public static final String LINK = "link"; 315 316 317 public static final String TEXT_CSS = "text/css"; 318 319 320 public static final String REL = "rel"; 321 322 323 public static final String STYLE = "style"; 324 325 326 public static final String TYPE = "type"; 327 328 329 public static final String STYLESHEET = "stylesheet"; 330 331 } | Popular Tags |