3.24.3 Predicates
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog HTTP support
The HTTP server libraries
library(http/html_head): Automatic inclusion of CSS and scripts links
Predicates
html_resource/2
html_current_resource/1
html_requires//1
html_insert_resource//1
mime_include//2
Availability:
:- use_module(
library(http/html_head)
).
[det]
html_requires
(
+ResourceOrList
)
//
Include
ResourceOrList
and all dependencies derived from it and add them to the HTML
head
using
html_post/2
. The actual dependencies are computed during the HTML output phase by
html_insert_resource//1
.