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
Community Proposals
Community Proposals
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 See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Posts tagged html

2 child tags

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.

71%
+3 −0
Q&A What determines where the focus goes back to when clicking on a browser's back button?

As far as I can tell, it is in part determined by the HTML spec's History API1, specifically the value of history.scrollRestoration. Quoting the HTML spec's scroll restoration mode paragraph: ...

0 answers  ·  posted 3d ago by toraritte‭  ·  edited 12h ago by toraritte‭

22%
+0 −5
Q&A How to Select From Multiple images to display main product image? [closed]

Below are the links to code for my project. HTML CSS JavaScript I have created Magnifying Image which was successful now I am trying to add multiple images which can be display in main produc...

0 answers  ·  posted 3mo ago by abhishek27suvarna‭  ·  edited 13d ago by CPlus‭

Question javascript html css
50%
+0 −0
Q&A How to display overlapped content in an e-mail

I do need to create an email template using components where the wrapped text left side (td - 50%) is overlapping with the image ( td - 50%) like Venn Diagrams... Not exactly but somehow... I came...

2 answers  ·  posted 4mo ago by hackerindio‭  ·  last activity 4mo ago by gbjbaanb‭

Question html email
75%
+4 −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: <!DOCTYPE html> <html> <head> <title&...

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

Question html css alignment image
66%
+2 −0
Q&A What does the w3c standard say about tabbing away from a disabled element?

I'm looking at the behaviour of Chrome and my test framework and trying to understand what the correct behaviour should be before raising an issue/ticket on one or the other (or revisiting how my t...

0 answers  ·  posted 8mo ago by pureferret ‭  ·  edited 8mo ago by Alexei‭

Question html standard w3c focus
75%
+4 −0
Code Reviews CSS grid with expanding cells

Goal Our goal is to create a kind of table, using HTML/CSS/JS, with cells that expand when you click on them. If you click on a header, the whole row or column will expand. This in itself is not ...

0 answers  ·  posted 1y ago by berrie‭  ·  edited 1y ago by berrie‭

22%
+0 −5
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 1y ago by ObviousPlays‭  ·  closed 1y ago by Alexei‭

Question javascript html css
77%
+5 −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 1y ago by Bennshinpoes‭  ·  last activity 1y 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 2y ago by deleted user  ·  edited 2y 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 2y ago by General Sebast1an‭  ·  edited 2y 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 2y ago by Alexei‭  ·  last activity 2y 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 <...

1 answer  ·  posted 2y ago by WannaBeAWebDev‭  ·  last activity 2y 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 2y ago by Alexei‭  ·  last activity 2y 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 <iframe> with the following attribute pattern: width="100%" frameBorder="0" My problem I need the iframe to stre...

1 answer  ·  posted 2y ago by deleted user  ·  edited 2y 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 2y ago by deleted user  ·  edited 2y 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 2y ago by deleted user  ·  closed 2y ago by Alexei‭

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 3y ago by deleted user  ·  edited 2y 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 2y 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. <link rel="stylesheet" href="./css/mobile_general_structure.css"></link> ...

2 answers  ·  posted 2y ago by deleted user  ·  last activity 2y 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 2y ago by nobodyImportant‭  ·  edited 2y 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 2y ago by deleted user  ·  last activity 2y 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 2y ago by deleted user  ·  edited 2y ago by Alexei‭

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

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

0 answers  ·  posted 2y ago by Anonymous‭  ·  closed 2y 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 <script> is placed in the <head> and sometimes it is placed in the <body>, What's difference between placing the <scri...

1 answer  ·  posted 2y ago by Kevin M. Mansour‭  ·  last activity 2y 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 <button type="button" onclick = "myfunction()" class="collapsible">Expand content</button> And, I have a JS function. function collapse() { var coll = docu...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y 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 3y ago by deleted user  ·  edited 3y 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 3y ago by deleted user  ·  edited 3y 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 <input type="text"> but without a <textarea> tag. The end product should be an <input type="text"> f...

1 answer  ·  posted 3y ago by deleted user  ·  last activity 3y 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 3y ago by deleted user  ·  last activity 3y 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: <html lang="en-US"> <head> <title>Title</title> <style> table { width: 20em; ...

2 answers  ·  posted 3y ago by Olin Lathrop‭  ·  edited 3y 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 3y ago by Alexei‭  ·  last activity 3y 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 3y ago by deleted user  ·  last activity 3y 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: <input type="date" name="date" id="cf_input_date"></input> The default value in this field is the W3C built-in default: dd/m...

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

Question php html css
50%
+0 −0
Code Reviews 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 3y 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 3y ago by deleted user  ·  last activity 3y 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 3y ago by deleted user  ·  last activity 3y 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 3y ago by deleted user  ·  last activity 3y 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 3y ago by deleted user  ·  edited 3y 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 3y 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 3y ago by jla‭  ·  last activity 3y 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: <div class="has-margin-0 has-padding-4"> <div>...</div> <div>...</div> ... </div>...

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