/** * Returns the document type that will be rendered with this HTML page real-time * <p> * * @return Document Type */ @Override @NotNull public DocumentType getDocumentType() { return new DocumentType(getBrowser().getHtmlVersion()); }
/** * Returns the document type that will be rendered with this HTML page real-time * <p> * * @return Document Type */ @Override @NotNull public DocumentType getDocumentType() { return new DocumentType(getBrowser().getHtmlVersion()); }
/** * Returns the document type that will be rendered with this HTML page real-time * <p> * * @return Document Type */ @Override @NotNull public DocumentType getDocumentType() { return new DocumentType(getBrowser().getHtmlVersion()); }
/** * Differences Between HTML and HTML 5 * <p> * The >acronym< tag is not supported in HTML5. Use the >abbr< tag instead. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() == HTMLVersions.HTML5) { setTag("abbr"); } } catch (Exception e) { Acronym.LOG.log(Level.FINE, "Unable to determine whether HTML or HTML5. Document type not set?", e); } } }
/** * Differences Between HTML and HTML 5 * <p> * The >acronym< tag is not supported in HTML5. Use the >abbr< tag instead. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() == HTMLVersions.HTML5) { setTag("abbr"); } } catch (Exception e) { Acronym.LOG.log(Level.FINE, "Unable to determine whether HTML or HTML5. Document type not set?", e); } } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { CSSLink.LOG.log(Level.WARNING, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { HorizontalRule.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { HorizontalRule.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } } }
/** * Differences Between HTML and HTML 5 * <p> * The >acronym< tag is not supported in HTML5. Use the >abbr< tag instead. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() == HTMLVersions.HTML5) { setTag("abbr"); } } catch (Exception e) { Acronym.LOG.log(Level.FINE, "Unable to determine whether HTML or HTML5. Document type not set?", e); } } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { CSSLink.LOG.log(Level.WARNING, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { CSSLink.LOG.log(Level.WARNING, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Base.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Base.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { Base.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } }
/** * Differences Between HTML and XHTML * <p> * In HTML the base tag has no end tag. * <p> * In XHTML the base tag must be properly closed. */ @Override public void preConfigure() { super.preConfigure(); try { if (getPage().getBrowser() .getHtmlVersion() .name() .startsWith("X")) { setInlineClosingTag(true); } } catch (Exception e) { HorizontalRule.log.log(Level.FINE, "Unable to determine whether XHTML or HTML. Will still render correctly, just not W3 Compliant.", e); } } }
if (page.getBrowser() != null)
if (page.getBrowser() != null)
page.getBody() .addCssReference(BootstrapReferencePool.BootstrapCoreReference.getCssReference()); if (page.getBrowser() .compareTo(Browsers.InternetExplorer9) < 1)
page.getBody() .addCssReference(BootstrapReferencePool.BootstrapCoreReference.getCssReference()); if (page.getBrowser() .compareTo(Browsers.InternetExplorer9) < 1)
.addCssReference(BootstrapReferencePool.Bootstrap4RebootReference.getCssReference()); if (page.getBrowser() .compareTo(Browsers.InternetExplorer9) < 1)