view release on metacpan or search on metacpan
nytprof/(eval 1)[Time-HiRes-pm-33]-10-line.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
This file was generated by Devel::NYTProf version 6.06
-->
<head>
view all matches for this distribution
view release on metacpan or search on metacpan
examples/boggle-words.template view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//ajdelore//DTD XHTML 1.0 Strict Modified//EN"
"http://www.sfu.ca/~ajdelore/dtd/xhtml1-strict-modified.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
view all matches for this distribution
view release on metacpan or search on metacpan
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:zach@zach-foo.(none)" />
view all matches for this distribution
view release on metacpan or search on metacpan
web/stylesheets/iteration2html.xps view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%
$t->{title}{showtag} = 0;
$t->set( 'log' => {
view all matches for this distribution
view release on metacpan or search on metacpan
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Games::Sudoku::Kubedoku - Sudoku Solver for any NxN puzzles</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rev="made" href="mailto:root@midas.slackware.lan" />
view all matches for this distribution
view release on metacpan or search on metacpan
root/uaf_display.tt view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[% content -%]
</html>
view all matches for this distribution
view release on metacpan or search on metacpan
root/bookerrata.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Gantry | Perl Web Application Framework</title>
view all matches for this distribution
view release on metacpan or search on metacpan
data/GEDCOMANSELTable.xhtml view on Meta::CPAN
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" dir="ltr">
<head>
<!-- #BeginEditable "Header" -->
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
view all matches for this distribution
view release on metacpan or search on metacpan
templates/default/Geo/Coder/Free/Display/meta_data.tmpl view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
view all matches for this distribution
view release on metacpan or search on metacpan
t/js_reference/test.html view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Interactive Polyline Encoder Utility - Google Maps API - Google Code</title>
view all matches for this distribution
view release on metacpan or search on metacpan
* regen from Graph::Easy 0.35
* add space before "One of..."
* add support for "B<...>"
* output HTML files in utf-8
* add error.html
* make Pod2HTML use Pod::Simple::XHTML (easier to override)
2005-12-03 v0.24 Tels 2 tests
* add examples/pod2html and lib/graph/Easy/Pod2HTML.pm
* require Graph::Easy 0.34
* fix object tag for SVG example (needs width/height for firefox)
view all matches for this distribution
view release on metacpan or search on metacpan
script/cgi-bin/hc.cgi view on Meta::CPAN
say qq{Content-Type: text/html\n};
say <<'END_OF_HEADER';
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
view all matches for this distribution
view release on metacpan or search on metacpan
htdocs/assets/templates/graphviz2/marpa/pathutils/cluster.report.tx view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Sample files created by GraphViz2::Marpa::PathUtils</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
view all matches for this distribution
view release on metacpan or search on metacpan
htdocs/assets/templates/graphviz2/marpa/graphviz2.marpa.index.tx view on Meta::CPAN
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Index of sample files created by GraphViz2::Marpa</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
view all matches for this distribution
view release on metacpan or search on metacpan
Sample output is online at
http://savage.net.au/Perl-modules/html/graphviz2/parse.isa.svg.
1.13 Sun Dec 25 10:33:00 2011
- Change <img...> to <object...> in the demo creation code, to keep poor old FireFox happy.
- Change various things in html/graphviz2.index.tx to we validate as XHTML 1.0 Strict.
- Unreleased.
1.12 Wed Dec 14 11:22:00 2011
- Add 5 scripts, scripts/macro.*.pl, to demonstrate using a Perl sub as a macro to generate
both cluster and non-cluster sub-graphs.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/AccountAutoDiscovery.pm view on Meta::CPAN
I<HTML::AccountAutoDiscovery> implements Account Auto-Discovery from given a URI or a HTML document.
Account Auto-Discovery is a spec for searching account names of some online services in the HTML. You can see the document of the spec at I<http://b.hatena.ne.jp/help?mode=tipjar#autodiscovery> (But only for Japanese.)
If you want to show your online accounts on your HTML or XHTML as metadata, you can write looks like this:
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<rdf:Description rdf:about="http://d.hatena.ne.jp/naoya/20050804/1123142579">
view all matches for this distribution
view release on metacpan or search on metacpan
t/div/40-variant view on Meta::CPAN
<h3 id="the-first-test">The first test</h3>
<p><em>This</em> is a very conformant
XHTML
fragment. I hope you like it. I will be using it as test material
during the development of this module. Actually not just <em>development</em>
but subsequent <strong>support</strong> will both use this and variant
files for regression tests. </p><h3 id="play_havoc">Blah</h3><p>This paragraph is intended to include all the
features permitted in our restricted subset of HTML. Therefore I need to
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/AutoTag.pm view on Meta::CPAN
]
);
=head1 DESCRIPTION
Generate nested HTML (HTML4, XHTML and HTML5) tags with custom indentation,
custom encoding and automatic attribute value rotation.
=head1 METHODS
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/BBReverse.pm view on Meta::CPAN
=item in_paragraph
Specifies wether the generated HTML is used between HTML paragraphs (C<E<lt>pE<gt>>
and C<E<lt>/pE<gt>>), and adds a C<E<lt>/pE<gt>> in front of and a C<E<lt>pE<gt>>
after every list. (XHTML 1.0 strict document types do not allow lists in
paragraphs) Defaults to 0.
=item no_jslink
When true, URLs starting with C<javascript:> will be disabled for the C<[url]>
view all matches for this distribution
view release on metacpan or search on metacpan
- Much better auto-correction of unescaped HTML brackets.
The module now can autocorrect both opening and closing unmatched
HTML brackets.
- Tagclasses were updated to include all relevant
elements from current XHTML DTD.
- By default more harmless inline tags are allowed:
B I A U STRONG BR
EM CITE VAR ABBR Q DFN CODE SUB SUP SAMP KBD ACRONYM
view all matches for this distribution
view release on metacpan or search on metacpan
HTML-Chunks
-----------
A simple template system for HTML, XML and XHTML which completely separates code
from design. Designers can create a well-formed mockup for presentation purposes
which can immediately be used by developers to create a working system. Or
developers can create an interface which designers turn into something pretty.
This removes the "chicken and egg" problem which plagues traditional template
systems while making it easier to produce proper code that is easily maintained.
view all matches for this distribution
view release on metacpan or search on metacpan
share/xhtml-special.ent view on Meta::CPAN
<!-- Special characters for XHTML -->
<!-- Character entity set. Typical invocation:
<!ENTITY % HTMLspecial PUBLIC
"-//W3C//ENTITIES Special for XHTML//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml-special.ent">
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/DeferableCSS.pm view on Meta::CPAN
If a web site configures a
L<Content-Security-Policy|https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP>
setting to disable all inlined JavaScript, then the JavaScript shim will
not work.
=head2 XHTML Support
This module is written for HTML5.
It does not support XHTML self-closing elements or embedding styles
and scripts in CDATA sections.
=head2 Encoding
All files are embedded as raw files.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Detergent.pm view on Meta::CPAN
C<E<lt>baseE<gt>> element is either added or rewritten to reflect it,
and the URI attributes in the body are rewritten relative to the base.
Otherwise they are left alone.
The document returned is an L<XML::LibXML::Document> object using the
XHTML namespace, C<http://www.w3.org/1999/xhtml>, but does not profess
to validate against any particular schema. If DTD declarations
(including the empty C<E<lt>!DOCTYPE htmlE<gt>> recommended in HTML5)
are desired, they can be added on afterward. Likewise, the object can
be converted from XML into HTML using L<XML::LibXML::Document/toStringHTML>.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Detoxifier.pm view on Meta::CPAN
In addition to this main purpose, HTML::Detoxifier cleans up some common
mistakes with HTML: all tags are closed, empty tags are converted to valid
XML (that is, with a trailing /), and images without ALT text as required in
HTML 4.0 are given a plain ALT tag. The module does its best to emit valid
XHTML 1.0; it even adds XML declarations and DOCTYPE elements where needed.
=cut
use constant TAG_GROUPS => {
links => {
lib/HTML/Detoxifier.pm view on Meta::CPAN
$attrs{style}
}
if (lc $token->[1] eq 'html') {
# Add a valid XML declaration and a doctype. HTML::Detoxifier
# converts everything to XHTML 1.0, so we might as well
# qualify it!
$out = <<"ENDDECL" . $out;
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
ENDDECL
$attrs{xmlns} = "http://www.w3.org/1999/xhtml"
unless $attrs{xmlns};
$attrs{lang} = "en-US" unless $attrs{lang};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Diff.pm view on Meta::CPAN
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(line_diff word_diff html_word_diff);
# This list of tags is taken from the XHTML spec and includes
# all those for which no closing tag is expected. In addition
# the pattern below matches any tag which ends with a slash /
our @UNBALANCED_TAGS = qw(br hr p li base basefont meta link
col colgroup frame input isindex area
view all matches for this distribution
view release on metacpan or search on metacpan
t/01_base.t view on Meta::CPAN
</html>
=== with doctype/xml
--- input
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html>
<head>
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
<div class="title">bar</div>
</body>
</html>
--- expected
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html>
<head>
<link rel="stylesheet" href="/css/foo.css"/>
</head>
<body>
t/01_base.t view on Meta::CPAN
<body>
<div class="yes" style="color:white">bar</div>
</body>
</html>
=== XHTML name space
--- input
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
<div class="title">bar</div>
</body>
</html>
--- expected
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//i-mode group (ja)//DTD XHTML i-XHTML(Locale/Ver.=ja/1.0) 1.0//EN" "i-xhtml_4ja_10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="/css/foo.css"/>
</head>
<body>
<div class="title" style="color:red">bar</div>
</body>
</html>
=== XHTML name space DTD default
--- input
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
<div class="title">bar</div>
</body>
</html>
--- expected
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="/css/foo.css" />
</head>
<body>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/Doctype.pm view on Meta::CPAN
# we might want something different than \s and \S here
# but it is not clear to me what exactly we should expect
return $self->_type("HTML", $doct) unless $comp[2] =~ /^DTD\s+(\S+)/;
# the first token of the public text description must include
# the string "XHTML", see XHTML M12N section 3.1, and see also
# http://w3.org/mid/41584c61.156809450@smtp.bjoern.hoehrmann.de
return $self->_type("HTML", $doct) unless $1 =~ /XHTML/;
# otherwise considers this document XHTML
return $self->_type("XHTML", $doct)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/HTML/EasyTags.pm view on Meta::CPAN
=head1 NAME
HTML::EasyTags - Make well-formed XHTML or HTML 4 tags, lists
=cut
######################################################################
lib/HTML/EasyTags.pm view on Meta::CPAN
$html->form_end,
$html->end_html;
=head1 DESCRIPTION
This Perl 5 object class can be used to generate any well-formed XHTML or HTML
tags in a format that is consistent with the W3C XHTML 1.0 or HTML 4.01
standards. See B<http://www.w3.org/TR/xhtml1> and B<http://www.w3c.org/MarkUp>
for references. There are no restrictions on what tags are named, however; you
can ask for any new or unsupported tag that comes along from Netscape or
Microsoft, and it will be made. Additionally, you can generate lists of said
tags with one method call, or just parts of said tags (but not both at once).
lib/HTML/EasyTags.pm view on Meta::CPAN
isindex, base, link, meta]. However, you can force any tag to be "pair" or
"start only" or "end only" by appropriately modifying your call to the tag making
method.
Also, "well formed" means that tag attributes are formatted as "key=value". While
the HTML standard allowed there to be "no value" attributes, XHTML does not.
These were formatted simply as "key" because their very presence indicates
positive assertion, while their absense means otherwise. Before release 1-06,
attributes that were known to be "no value" attributes were formatted as "key" by
default. Modifiers that I know to be "no value" are [ismap, noshade, compact,
checked, multiple, selected, nowrap, noresize, param]. As of release 1-06, "no
lib/HTML/EasyTags.pm view on Meta::CPAN
=head2 prologue_tag([ VALUE ])
This method is an accessor for the scalar "prologue tag" property of this object,
which it returns. If VALUE is defined, this property is set to it. This property
is meant to be used literally and be the very first thing in an XHTML or HTML
document. It tells the web browser such things as what version of the HTML
standard we are adhering to. Citing backwards compatability with earlier
versions of this class, the default prologue tag we make is for HTML version 4.0
and looks like '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">'.
lib/HTML/EasyTags.pm view on Meta::CPAN
used as a pair (most use pairs, few don't), and for determining which tag
attributes made a positive assertion just by their presence, without need for any
associated values (most have values, few don't).
Thanks to W3C for publishing their standards documents in an easy-to-understand
manner. I made good use of their XHTML primer document when making release 1-06
of this module. The most recent version is at "http://www.w3.org/TR/xhtml1".
The full title is "XHTML(TM) 1.0: The Extensible HyperText Markup Language --
A Reformulation of HTML 4 in XML 1.0 -- W3C Recommendation 26 January 2000".
I used this document to determine what changes I needed to make for this
module's output to easily support the new XHTML standard as it supported HTML 4
and previous versions before, while keeping backwards compatability.
Thanks to B<Lincoln D. Stein> for setting a good interface standard in the
HTML-related methods of his CGI.pm module. I was heavily influenced by his
interfaces when designing my own. Thanks also because I borrowed ideas for my
view all matches for this distribution