Questions tagged [htmldoc]

26 questions
6
votes
1 answer

Repeat thead on each page via htmldoc

I'm trying to figure out how to get a set of table headers to repeat on each page of output from htmldoc. I plugged in the CSS way (below) to see if that would work, but I don't believe htmldoc does much of anything with CSS. The basic question is:…
Jack M.
  • 30,350
  • 7
  • 55
  • 67
3
votes
0 answers

how to install htmldoc on wamp

I want to install htmldoc on wamp. My environnment is apache 2.2, php5.3, windows XP. I followed the instructions on htmldoc website but it does not work, I think I missed something that is obvious and therefore not said in the doc. I followed…
mariek
  • 426
  • 4
  • 13
3
votes
1 answer

htmldoc ignoring LC_TIME for date format

I'm running the following Perl code to create a PDF file. { local $ENV{LC_TIME} = 'de_DE.utf8'; system qw(htmldoc --quiet --webpage -t pdf --jpeg --no-link --header .D. --footer .D/ --outfile), "$filename.pdf", $filename; } It works on my…
seepheart
  • 33
  • 3
2
votes
1 answer

bad conversion from html to pdf with htmldoc

I'm trying to convert HTML to PDF using htmldoc, but even basic HTML does not convert properly, I have this HTML: pdf…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 18 '12 at 09:44">asked Jan 18 '12 at 09:44</time> <a href="../../users/660961/boobiq" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/660961.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="boobiq" /> </a> <div class="s-user-card--info"> <a href="../../users/660961/boobiq" class="s-user-card--link">boobiq</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,984</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="20 silver badges">20</li> <li class="s-award-bling s-award-bling__bronze" title="27 bronze badges">27</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-11995644"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>2</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/11995644/pdf-export-from-a-model-method-using-render-to-string" class="question-hyperlink">PDF export from a Model method using render_to_string</a></h3> <div class="excerpt">I need to implement a _to_pdf method on my ProjectBill model which generates a PDF of my bill at this place: /public/xls/bills/project_#{project.number}_bill_#{bill.number}.pdf My application is using HTMLDoc for generating PDF. I am using Rails…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/ruby-on-rails" class="post-tag grid--cell" title="show questions tagged 'ruby-on-rails'" rel="tag">ruby-on-rails</a> <a href="../../questions/tagged/ruby" class="post-tag grid--cell" title="show questions tagged 'ruby'" rel="tag">ruby</a> <a href="../../questions/tagged/pdf" class="post-tag grid--cell" title="show questions tagged 'pdf'" rel="tag">pdf</a> <a href="../../questions/tagged/rendering" class="post-tag grid--cell" title="show questions tagged 'rendering'" rel="tag">rendering</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Aug 16 '12 at 21:23">asked Aug 16 '12 at 21:23</time> <a href="../../users/976775/mryoshiji" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/976775.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="MrYoshiji" /> </a> <div class="s-user-card--info"> <a href="../../users/976775/mryoshiji" class="s-user-card--link">MrYoshiji</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">54,334</li> <li class="s-award-bling s-award-bling__gold" title="13 gold badges">13</li> <li class="s-award-bling s-award-bling__silver" title="124 silver badges">124</li> <li class="s-award-bling s-award-bling__bronze" title="117 bronze badges">117</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-61643196"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/61643196/how-to-convert-html-to-pdf-using-shell-script" class="question-hyperlink">How to convert html to pdf using shell script</a></h3> <div class="excerpt">I have written html in shell script and saving that output to output.html and i want convert that output.html to output.pdf and to output.json how to do that? <table class="table table-sm"> <thead> <tr> <th scope="col">#</th> <th…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/bash" class="post-tag grid--cell" title="show questions tagged 'bash'" rel="tag">bash</a> <a href="../../questions/tagged/shell" class="post-tag grid--cell" title="show questions tagged 'shell'" rel="tag">shell</a> <a href="../../questions/tagged/sh" class="post-tag grid--cell" title="show questions tagged 'sh'" rel="tag">sh</a> <a href="../../questions/tagged/html2pdf" class="post-tag grid--cell" title="show questions tagged 'html2pdf'" rel="tag">html2pdf</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 06 '20 at 18:59">asked May 06 '20 at 18:59</time> <a href="../../users/12558146/ajay-juneja" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12558146.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ajay juneja" /> </a> <div class="s-user-card--info"> <a href="../../users/12558146/ajay-juneja" class="s-user-card--link">ajay juneja</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">23</li> <li class="s-award-bling s-award-bling__bronze" title="6 bronze badges">6</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-50797292"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/50797292/export-the-html-to-word-with-headers-and-footers-and-images-base64-encoded" class="question-hyperlink">Export the html to word with headers and footers and images (base64 encoded)</a></h3> <div class="excerpt">I need to export the content of html to word file along with headers and footers and also images.I have used the googoose.js code it works but this is not exporting images,which are base64 images and exporting normal images <html> <head> <title>…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 11 '18 at 12:03">asked Jun 11 '18 at 12:03</time> <a href="../../users/6843101/rch" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/6843101.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="rch" /> </a> <div class="s-user-card--info"> <a href="../../users/6843101/rch" class="s-user-card--link">rch</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">345</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badge">6</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badge">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-4276439"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/4276439/how-to-reference-a-static-variable-in-a-htmldoc-content-in-php" class="question-hyperlink">How to reference a static variable in a HTMLDOC content in PHP</a></h3> <div class="excerpt">How can I use a templateize::$subject in a $html = <<<HTMLDOC abc+abc+ab templateize::$subject HTMLDOC; in a HTMLDOC content? </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/class" class="post-tag grid--cell" title="show questions tagged 'class'" rel="tag">class</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Nov 25 '10 at 11:21">asked Nov 25 '10 at 11:21</time> <a href="../../users/243782/pentium10" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/243782.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Pentium10" /> </a> <div class="s-user-card--info"> <a href="../../users/243782/pentium10" class="s-user-card--link">Pentium10</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">204,586</li> <li class="s-award-bling s-award-bling__gold" title="122 gold badges">122</li> <li class="s-award-bling s-award-bling__silver" title="423 silver badges">423</li> <li class="s-award-bling s-award-bling__bronze" title="502 bronze badges">502</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-41655356"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/41655356/htmldoc-does-not-execute-from-php" class="question-hyperlink">HTMLDOC does not execute from PHP</a></h3> <div class="excerpt">I am trying to create a PDF from an HTML file from a PHP page (Apache, LAMP) Wierd thing is, when I execute the script from the command line, it works and creates the PDF as expected. However when I browse to the page in my browser, it does…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 14 '17 at 21:49">asked Jan 14 '17 at 21:49</time> <a href="../../users/4925136/alex-russell" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4925136.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Alex Russell" /> </a> <div class="s-user-card--info"> <a href="../../users/4925136/alex-russell" class="s-user-card--link">Alex Russell</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">172</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="13 bronze badges">13</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-29751085"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/29751085/htmldoc-aligning-text-to-bottom-of-page" class="question-hyperlink">HTMLDOC - aligning text to bottom of page</a></h3> <div class="excerpt">I have an html page being generated which creates some dynamic content, gets converted to ps, and sent out via snailmail. The length of the document depends on how many items are in the dynamically generated list near the beginning of the page. The…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/pdf" class="post-tag grid--cell" title="show questions tagged 'pdf'" rel="tag">pdf</a> <a href="../../questions/tagged/postscript" class="post-tag grid--cell" title="show questions tagged 'postscript'" rel="tag">postscript</a> <a href="../../questions/tagged/pdftk" class="post-tag grid--cell" title="show questions tagged 'pdftk'" rel="tag">pdftk</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 20 '15 at 14:45">asked Apr 20 '15 at 14:45</time> <a href="../../users/1030489/user1030489" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1030489.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user1030489" /> </a> <div class="s-user-card--info"> <a href="../../users/1030489/user1030489" class="s-user-card--link">user1030489</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">89</li> <li class="s-award-bling s-award-bling__bronze" title="5 bronze badges">5</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-27895660"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/27895660/html-to-pdf-content-spill-over-to-next-page" class="question-hyperlink">HTML to PDF content spill over to next page</a></h3> <div class="excerpt">I am using HTMLdoc to generate PDF out of html but I am facing issue while generating PDF.when the page split happens in the PDF, some of the content will get distributed across the page and we don't have control over that. lets say you have table…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/css" class="post-tag grid--cell" title="show questions tagged 'css'" rel="tag">css</a> <a href="../../questions/tagged/ruby-on-rails" class="post-tag grid--cell" title="show questions tagged 'ruby-on-rails'" rel="tag">ruby-on-rails</a> <a href="../../questions/tagged/pdf" class="post-tag grid--cell" title="show questions tagged 'pdf'" rel="tag">pdf</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 12 '15 at 05:10">asked Jan 12 '15 at 05:10</time> <a href="../../users/422543/lohith-mv" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/422543.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Lohith MV" /> </a> <div class="s-user-card--info"> <a href="../../users/422543/lohith-mv" class="s-user-card--link">Lohith MV</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3,798</li> <li class="s-award-bling s-award-bling__gold" title="11 gold badges">11</li> <li class="s-award-bling s-award-bling__silver" title="31 silver badges">31</li> <li class="s-award-bling s-award-bling__bronze" title="44 bronze badges">44</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-15126356"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/15126356/html-doc-logoimage" class="question-hyperlink">HTML DOC --logoimage</a></h3> <div class="excerpt">I am trying to put different header and footer images while creating a pdf doc. The problem is i can not insert two different images using --logoimage command. I have tried different ways but have failed. The document which gets created picks up the…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/html-parsing" class="post-tag grid--cell" title="show questions tagged 'html-parsing'" rel="tag">html-parsing</a> <a href="../../questions/tagged/pdf-generation" class="post-tag grid--cell" title="show questions tagged 'pdf-generation'" rel="tag">pdf-generation</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 28 '13 at 02:19">asked Feb 28 '13 at 02:19</time> <a href="../../users/1792959/ahad-ali" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1792959.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ahad Ali" /> </a> <div class="s-user-card--info"> <a href="../../users/1792959/ahad-ali" class="s-user-card--link">Ahad Ali</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">398</li> <li class="s-award-bling s-award-bling__silver" title="5 silver badges">5</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-8886497"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/8886497/convert-html-to-pdf-on-the-fly-using-python-and-htmldoc" class="question-hyperlink">Convert html to pdf on the fly using Python and HTMLDOC</a></h3> <div class="excerpt">I built a Django application for a client about a year ago. He has now resold the application to some super secret government agency that they won't even tell me the name of. Part of the application dynamically generates PDF files using the python…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/python" class="post-tag grid--cell" title="show questions tagged 'python'" rel="tag">python</a> <a href="../../questions/tagged/django" class="post-tag grid--cell" title="show questions tagged 'django'" rel="tag">django</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 16 '12 at 21:28">asked Jan 16 '12 at 21:28</time> <a href="../../users/412752/nick-hagianis" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/412752.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Nick Hagianis" /> </a> <div class="s-user-card--info"> <a href="../../users/412752/nick-hagianis" class="s-user-card--link">Nick Hagianis</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,438</li> <li class="s-award-bling s-award-bling__silver" title="14 silver badges">14</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badges">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-74713852"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/74713852/get-elements-from-json-array-to-display-as-a-text" class="question-hyperlink">Get elements from JSON array to display as a text</a></h3> <div class="excerpt">So i am trying to get a first_name from JSON object which has array of elements by iterating through it, for example if i type 'Ron' it will display as a text but for some reason I can't get display it as a text unless i send in a respond this…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/node.js" class="post-tag grid--cell" title="show questions tagged 'node.js'" rel="tag">node.js</a> <a href="../../questions/tagged/json" class="post-tag grid--cell" title="show questions tagged 'json'" rel="tag">json</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 07 '22 at 08:42">asked Dec 07 '22 at 08:42</time> <a href="../../users/11216838/montes" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/11216838.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Montes" /> </a> <div class="s-user-card--info"> <a href="../../users/11216838/montes" class="s-user-card--link">Montes</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-56760578"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/56760578/what-is-the-htmldocument-function" class="question-hyperlink">What is the HTMLDocument function?</a></h3> <div class="excerpt">I have noticed that if you write a program like this: console.log(document); It shows [object HTMLDocument]. Then, if you do this: console.log(HTMLDocument); it shows this: function HTMLDocument() { [native code] } So, I am wondering what the…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/htmldoc" class="post-tag grid--cell" title="show questions tagged 'htmldoc'" rel="tag">htmldoc</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 25 '19 at 19:08">asked Jun 25 '19 at 19:08</time> <a href="../../users/11675759/javacakes" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/11675759.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="JavaCakes" /> </a> <div class="s-user-card--info"> <a href="../../users/11675759/javacakes" class="s-user-card--link">JavaCakes</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">361</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badge">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <div class="s-pagination--item is-selected">1</div> <a class="s-pagination--item" href="../../questions/tagged/htmldoc_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/htmldoc_page=2" rel="next" title="Go to page 2"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>