Here you can find the source of html(String text)
Parameter | Description |
---|---|
text | the contents of the element. |
public static String html(String text)
//package com.java2s; /*--------------------------------------------------------------- * Copyright 2005 by the Radiological Society of North America * * This source software is released under the terms of the * RSNA Public License (http://mirc.rsna.org/rsnapubliclicense) *----------------------------------------------------------------*/ public class Main { /**// w w w .j a v a 2 s .c o m * Creates an html element. * @param text the contents of the element. * @return the element string. */ public static String html(String text) { return "<html>" + text + "</html>"; } }