Let's specify the default font in the body tag.
让我们在指定的身体标记的默认字体。
First the XHTML head tag gets closed, and the body tag opened.
首先关闭XHTMLhead标记,打开body标记。
It starts with the home page, which is defined at the beginning of the body tag.
它从主页开始,主页在正文标记的开始处定义。
An unclosed HTML document that includes an HTML head tag and the first part of the body tag.
一个未闭合的HTML文档,包含了HTMLhead标签和body标签的第一部分内容。
The only downside is you'll need to run this method on your page's onLoad event, on the body tag.
惟一的缺点是您需要在页面的body 的onLoad事件上运行此方法。
In the body tag, there is a template that specifies the logical structure of page and the placeholders for pagelets.
在body标签中,有个模板指定了页面的逻辑结构和pagelets的占位符。
These skins can also be used as a base by specifying it in the class attribute of your application's overall HTML body tag.
通过在应用程序的整个HTML主体标记的类属性内指定,也可以将这些皮肤用作基础。
Once the dojo core is loaded, we can use dojo.require to load the TitlePane widget, which we then reference inside the body tag.
一旦dojocore加载完毕,我们就可以使用dojo . require加载TitlePane小部件,我们随后会在body标记中引用这个小部件。
Within the body tag lies the next piece: the building block tags, which play host to the layout, the information, and the search tools.
主体标记中的下一部分是:构造块标记,它用于容纳布局、信息和搜索工具。
The HTML BODY tag taken from AddressBook.html shown below associates the OnPageLoad function with the onload event, and is called whenever the page is loaded.
下面显示的AddressBook .html中的htmlBODY标记将onpageload函数与onload事件相关联,每当装载该页面时,就会调用这个函数。
Now, instead of setting the body formatting for each page, just use the body tag normally — without formatting — and be sure your page refers to the CSS style sheet.
不需要为每个页面设置主体格式,像平常一样使用body标签就行了——没有格式设置,但是一定要引用css样式表。
In this situation, where you are caching the resulting response of a web service call, you are caching the soap body, as delineated by the soapenv: body tag in Listing 2.
在这种情况下,您可以在高速缓存一个Web服务调用产生的响应的地方高速缓存soap体,如清单2中的soapenv:Body标记描述的那样。
If you put them inside the tag, no part of the page body will actually render until after the script has loaded and executed, giving the user the impression that your page is loading slowly.
如果将它们放在标记内部,只有到脚本加载并执行后,页面主体才会呈现,从而让用户觉得页面加载很慢。
For a last little bit of Facelets fun (for this article), you'll create a tag that allows you to add components defined in the body if the value binding is of a certain type.
关于Facelets的最后一点有趣的用途(对于本文来说),若值绑定是某种特殊类型,您可创建允许添加标记体中所定义的组件的标记。
You can use a Facelets TagHandler to inject the logic to decide whether components in the body of a tag are added to the component tree.
可以使用FaceletsTagHandler注入逻辑以决定是否把标记体中的组件添加到组件树中。
Listing 11. A Grails tag that works with attributes and the body.
清单11.处理属性和标记体的Grails标记。
In the middle of the form, the QuickPlaceSkin tag brings in the HTML that forms the body of the page.
在表单的中间,QuickPlaceSkin标签在组成页面主体的HTML中。
If you look at the body of the HTML page near the bottom of the listing, you see that this header is literally in a header tag-one of the new HTML elements in HTML 5.
如果您查看清单3底部附近的HTML页面主体,您将看到这个标题实际上位于一个header标记中—这是HTML5中的一个新HTML元素。
You pass the following parameters for configuring the applet in the body of the tag, and the applet uses them during initialization
将以下参数放在标签中,然后对applet进行配置,applet在初始化时会使用这些参数
Similarly, the body is passed into the tag as a closure, so I call it the same way I'd call any other tag.
类似地,body也以闭包的形式传递给标记,所以调用它的方式与调用其他标记的方式相同。
All key information is contained within the tag tag where the tag name and handler class are mapped, and we've made a declaration regarding the tag's sensitivity to body content.
所有关键信息都包含在Tag标记中,在这里映射了标记名和处理程序类,我们声明了标记对于正文内容的敏感性。
This means any page that references template.xhtml in its composition tag will have no output in the body section if the UI: define, whose name is body, is omitted from the page.
这表示如果从页面忽略名为body的ui:define,则在其composition标记中引用template . xhtml的任何页面的主体部分都不会有输出。
Every tag handler then implements a special interface from the JSP API. There are two types of tags: those that can process the content (or body) of a tag and those that cannot.
然后,每一个标记处理程序实现JSPAPI中的一个特殊接口。
When the tag is processed, the container will take its name and attributes, as well as any content that may exist in the body of the tag, and pass it to one or more class files for handling.
处理标记以后,容器将取其名字和属性、以及标记正文中可能有的任何内容,并将它传递给一个或者多个类文件进行处理。
The code in Listing 1 requests a page from the server, and then places that content into a tag in the body of the page.
清单1中的代码从服务器请求一个页面然后将内容放入页面主体的标记中。
The second ui:define tag lets you specify the body of the page, which in the template page has no default content.
第二个ui:define标记让您指定页面主体,在模板页面中没有默认内容。
This tag will iterate over nodes of a certain name, executing the body of the iterate for each node. For example.
该标签将遍历具有特定名称的节点,为每个节点执行iterate的主体。
If there is an HTML tag in the page where selected is set to true, the CSS assigns that to the entire body of the viewport using the CSS declaration display: block.
如果在页面中selected设置为true的位置存在一个HTML标记,CSS会使用CSS声明display: block将它赋值到视见区的整个正文。
This tag is loaded early in the loading process, but it won't be executed until the body onload function is called.
此标记在加载过程的早期加载,但它在body内的onload函数调用之后才会执行。
This tag is loaded early in the loading process, but it won't be executed until the body onload function is called.
此标记在加载过程的早期加载,但它在body内的onload函数调用之后才会执行。
应用推荐