Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read
Q&A

Posts tagged html

1 child tag

Use for questions about HyperText Markup Language, the main markup language for creating web pages. Typically this should be accompanied by other relevant tags such [css] or [javascript].

This tag doesn't have a detailed wiki yet.

33%
+0 −2
Q&A Replit particles push instead of being background [closed]

I am working on a replit https://AppropriateMessyRoutes.ozabramo.repl.co and I am trying to implement https://github.com/VincentGarreau/particles.js as a background but I keeps on pushing every...

1 answer  ·  posted 2d ago by ObviousPlays‭  ·  closed 2d ago by Alexei‭

Question javascript html css
75%
+4 −0
Q&A Child div doesn't inherit parent's div background-color

I have a parent div with two child divs. I want the parent div and the child divs to have a blue background color when it's hovered. But the child divs doesn't inherit the background color. It is o...

1 answer  ·  posted 2mo ago by Bennshinpoes‭  ·  last activity 2mo ago by r~~‭

Question html css
50%
+0 −0
Q&A How to uncollapse an entire link tree with JavaScript?

This data tree is comprised of clickable buttons and I want to expose all branches, in a single action, instead of clicking each vertical arrow button anew. I have tried the following code which d...

1 answer  ·  posted 8mo ago by deleted user  ·  edited 8mo ago by Alexei‭

Question javascript html
66%
+2 −0
Q&A How do I get an animation from another source playing through hovering?

I was tasked with an assignment where I should get a box to move to the 4 corners of the viewport by hovering on a button. Most of the code is already finished except for figuring out how to get th...

0 answers  ·  posted 8mo ago by General Sebast1an‭  ·  edited 8mo ago by General Sebast1an‭

50%
+0 −0
Q&A How to get rid of HTML tags and convert entities in SQL Server?

I have to migrate a bunch of text from an old application into a new one. Some of these texts contain HTML tags and entities (HTML editor was used) and now they do not want to support this in the n...

2 answers  ·  posted 9mo ago by Alexei‭  ·  last activity 8mo ago by gbjbaanb‭

Question html sql-server
66%
+2 −0
Q&A Why is my last input box not centering (class: powerwall-battery-input)?

I found a form I wanted to duplicate on a roof construction website. All my input boxes are centered except the last one that's a bit off and I cannot figure out why. Here is my code: HTML &lt;...

1 answer  ·  posted 10mo ago by WannaBeAWebDev‭  ·  last activity 10mo ago by meriton‭

Question html css centering
50%
+0 −0
Q&A Migrating HTML strings to a more secure alternative

Our team will have to migrate an old application to use a new tech stack. One of the features involves the usage of HTML editors which serialized the content as HTML and I am able to see valid HTML...

1 answer  ·  posted 10mo ago by Alexei‭  ·  last activity 10mo ago by r~~‭

Question html markdown
57%
+2 −1
Q&A width="100%" for an iframe, breaks responsiveness CSS directives

In a MediaWiki website I embed a PHP file containing a contact form via &lt;iframe&gt; with the following attribute pattern: width="100%" frameBorder="0" My problem I need the iframe to stre...

1 answer  ·  posted 12mo ago by deleted user  ·  edited 12mo ago by deleted user

50%
+1 −1
Q&A How to fire the change event for an input field?

I have added some input to an input field element this way: const inputFiled = document.querySelector("#example"); inputField.value = "X"; I want to fire a change event for that field right af...

2 answers  ·  posted 1y ago by deleted user  ·  edited 12mo ago by Alexei‭

28%
+0 −3
Q&A Why would a form value inserted with value property won't be effective? [closed]

In a website I didn't build, I want to put a value in an HTML input field element with JavaScript and to also use it as-putted. I can put it with the browser console this way: document.querySelec...

1 answer  ·  posted 1y ago by deleted user  ·  closed 1y ago by Alexei‭

71%
+3 −0
Q&A How to align my content to the left?

This revolves around images. I'm trying to write an HTML page of COVID-19 safety procedures, and here's what I've written so far: &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&...

2 answers  ·  posted 1y ago by General Sebast1an‭  ·  last activity 1y ago by Peter Taylor‭

Question html css alignment image
66%
+4 −1
Q&A Dye all label asterisks Red with vanilla JavaScript

I want to dye all label asterisks Red with vanilla JavaScript. CSS isn't good for this because it would dye both asterisks and colons (:) instead just the asterisks: .labelWithColonAndAsterisk:af...

2 answers  ·  posted 1y ago by deleted user  ·  edited 1y ago by deleted user

42%
+1 −2
Q&A &lrm; character jumbles text and this can be confusing when working with many articles

I often work bidirectional text in content management systems and often that text has parenthesis (()) or other textual wrappers flipping after an English text which is preceded in itself by some R...

0 answers  ·  posted 1y ago by deleted user

Question html fonts bidi
57%
+2 −1
Q&A How to append HTML to the DOM with JavaScript?

I have a .html file containing only the following data, and I keep that file on top of my website's directory. &lt;link rel="stylesheet" href="./css/mobile_general_structure.css"&gt;&lt;/link&gt; ...

2 answers  ·  posted 1y ago by deleted user  ·  last activity 1y ago by Ullallulloo‭

Question javascript html dom
71%
+3 −0
Q&A How to make the text box such that its placeholder goes up and arranges itself in the centre of the border upon clicking?

How to make the placeholder so that it goes to the top of the border line on click? For example, when you go to Gmail and click on the input field, the placeholder text goes up and arranges itself...

1 answer  ·  posted 1y ago by nobodyImportant‭  ·  edited 1y ago by hkotsubo‭

Question javascript html css
66%
+4 −1
Q&A Is it possible to mutate the DOM directly from HTML, without any JavaScript?

All the ways I know of to mutate a DOM are JavaScript. Just for broadening general knowledge I want to know if there is any common way to mutate the DOM via HTML itself, without involving any Java...

2 answers  ·  posted 1y ago by deleted user  ·  last activity 1y ago by nelson777‭

Question function html dom
57%
+2 −1
Q&A How to include HTML files in another HTML file with vanilla Javascript?

I develop an HTML-CSS-JavaScript-PHP contact form and I have a large HTML file which is very long and very wide (lots of horizontal scrolling due to nesting) and it's hard for me personally to work...

0 answers  ·  posted 1y ago by deleted user  ·  edited 1y ago by Alexei‭

37%
+1 −3
Q&A theme always not changing [closed]

const body = document.body; const light = evt =&gt; { body.setAttribute('data-theme', 'light'); localStorage.setItem("theme", "light"); console.log("light"); } const dark = ...

0 answers  ·  posted 1y ago by Anonymous‭  ·  closed 1y ago by Alexei‭

Question javascript html theme
81%
+7 −0
Q&A What's the difference between placing <script> in the <head> and placing in the <body>?

While learning JavaScript, I started to see sometimes the &lt;script&gt; is placed in the &lt;head&gt; and sometimes it is placed in the &lt;body&gt;, What's difference between placing the &lt;scri...

1 answer  ·  posted 1y ago by Kevin M. Mansour‭  ·  last activity 1y ago by Kevin M. Mansour‭

33%
+1 −4
Q&A How to call a function from ruby-on-rails (HTML)?

Let I have a button &lt;button type="button" onclick = "myfunction()" class="collapsible"&gt;Expand content&lt;/button&gt; And, I have a JS function. function collapse() { var coll = docu...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by Kevin M. Mansour‭

50%
+2 −2
Q&A Splitting a large HTML file into two or more HTML files without JavaScript

I am developing a modular HTML-PHP-CSS no-JavaScript (JavaScriptless) contact form and the HTML is becoming increasingly large, around 80 lines (and could easily grow to be significantly larger as ...

1 answer  ·  posted 1y ago by deleted user  ·  edited 1y ago by deleted user

37%
+1 −3
Q&A An HTML form in Hebrew is Right to Left in general but a select list inside it is Left to Right

My HTML form got dir="rtl" attribute and value and in desktop computer systems it appears Right to Left (RTL) but in my mobile device (OnePLus 6) with Android and DuckDuckGo browser, the form's HTM...

0 answers  ·  posted 1y ago by deleted user  ·  edited 1y ago by deleted user

Question html right-to-left
50%
+2 −2
Q&A Accessibility standard/s for multilined <input type="text"> fields

I have a simple HTML contact form and I wish to create a text area in it with &lt;input type="text"&gt; but without a &lt;textarea&gt; tag. The end product should be an &lt;input type="text"&gt; f...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by hkotsubo‭

Question html accessibility
33%
+0 −2
Q&A Is there a problem in making Captcha an HTML builtin with an attribute setting which type of Captcha

Many web login and contact form features could be set as standard HTML builtins without the need to develop and backend and/or (non HTML) frontend for them, for example: Select field Input Date...

2 answers  ·  posted 1y ago by deleted user  ·  last activity 1y ago by corporat‭

83%
+8 −0
Q&A How to set text-align for whole column of HTML table?

To start off, here is the complete HTML of a simple example table: &lt;html lang="en-US"&gt; &lt;head&gt; &lt;title&gt;Title&lt;/title&gt; &lt;style&gt; table { width: 20em; ...

2 answers  ·  posted 1y ago by Olin Lathrop‭  ·  edited 1y ago by Alexei‭

75%
+4 −0
Q&A What are the risks of using iFrame as a temporary migration step for an internal web application?

Overview Our development team is currently trying to develop and migrate a Web application that is split in two: legacy: ASP.NET MVC 5, jQuery, old-style JS programming overall "next": Angular...

1 answer  ·  posted 1y ago by Alexei‭  ·  last activity 1y ago by meriton‭

16%
+0 −8
Q&A Why most hosting providers support ticket systems allow text only (no formatting)? [closed]

Through the years I have "tasted" several website hosting companies; none of them had Markdown available in their support-ticket-systems (if all any formatting method available). Why is it? What's...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by Alexei‭

50%
+1 −1
Q&A yyyy/mm/dd instead expected dd/mm/yyyy format in PHP-created-HTML output

I have an HTML-PHP-CSS contact form with a date field: &lt;input type="date" name="date" id="cf_input_date"&gt;&lt;/input&gt; The default value in this field is the W3C built-in default: dd/m...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by Peter Taylor‭

Question php html css
50%
+0 −0
Q&A PHP for simple HTML-PHP-CSS contact form --- aimed solely for RTL websites

As a non PHP programmer I have tried to program some basic PHP mail() function code to send Right To Left (RTL) contact form messages to my local email client (i.e. an email client which is affilia...

0 answers  ·  posted 1y ago by deleted user

57%
+2 −1
Q&A Not obligating http:// or https:// in a url field of a contact form

I have a simple HTML-PHP-CSS contact form (no JavaScript) with an input type="url" field. Currently in 30/03/2021, the default behavior of input type="url" (by W3C design I guess) is to obligate t...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by Alexei‭

Question php javascript html
57%
+2 −1
Q&A Are JavaScriptless forms accessible?

I consider to make my website's contact form totally javascriptless (only HTML-PHP-CSS --- no JavaScript at all). No modals or alerts No prevent default No AJAX/AJAX/XHR/JHR No form disappear...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by Alexei‭

66%
+2 −0
Q&A min-height for HTML form's submit buttons from a web accessibility standpoint

I am styling a simple HTML-PHP-CSS contact form and I have considered to give some min-height pixel value CSS style to the form's submit button. I ran a Google search with the query: min-height...

1 answer  ·  posted 1y ago by deleted user  ·  last activity 1y ago by ArtOfCode‭

50%
+0 −0
Q&A Creating a Right-To-Left, primarily-backend, HTML-PHP contact form

I host my website on a PaaS-modeled, shared hosting environment by SiteGround which is quite a well known hosting company with (as I believe) well-venerated email servers. I am trying to create ...

0 answers  ·  posted 1y ago by deleted user  ·  edited 1y ago by deleted user

Question php html contact-form
75%
+4 −0
Q&A Resize HTML canvas with respect to inner content

I am currently making an esoteric language which requires a theoretically infinite canvas. Basically, it should be able to resize and fit the contents of the drawing in and outside it's existing bo...

0 answers  ·  posted 2y ago by Razetime‭

86%
+11 −0
Q&A Can regex be used to check if input conforms to a very strict subset of HTML?

Tldr; I don't need to parse HTML, but I need to check if user submitted input conforms to a very strict subset of HTML. Can regex be a suitable tool for this? Details I have a frontend sanitiser th...

4 answers  ·  posted 2y ago by jla‭  ·  last activity 2y ago by Stephen C‭

Question javascript regex html
76%
+8 −1
Q&A Styling with classes vs styling with CSS

I've noticed that a lot of sites have something like this going on: &lt;div class="has-margin-0 has-padding-4"&gt; &lt;div&gt;...&lt;/div&gt; &lt;div&gt;...&lt;/div&gt; ... &lt;/div&gt;...

1 answer  ·  posted 2y ago by Moshi‭  ·  last activity 2y ago by luap42‭