HTML (Hyper Text Markup Language) is the standard content markup language of the web. It is an open standard developed and maintained by W3C (World Wide Web Consortium).

learn more… | top users | synonyms

0
votes
1answer
13 views

Could i have done this any other way? CSS/HTML

i've created some full-width divs containing images and text to exposure products. It did take a lot of trial and error (i do not have any kind of education). However, it feels a bit clumsy and i'm ...
3
votes
1answer
15 views

Adding a class to a root element

I have written some ES2015 JavaScript that adds a class to a root element when one of it's immediate children is focused. Here is the markup for the code to be run on: ...
2
votes
0answers
11 views

HTML/CSS - project's structure, BEM, turned from psd

I'd like to ask you for opinions about website. It is training template turned from someone's web design. Generally, I'd like to know what I should improve and how to be more effective with future ...
1
vote
0answers
18 views

SSRS: code function to sanitise HTML for rendering in RDLC report

Background I have an RDLC that among other things displays text coming in that is captured in SharePoint, using a custom control (TinyMCE) that exposes limited formatting options to users. The SSRS ...
3
votes
1answer
38 views
0
votes
1answer
64 views

JavaScript DOM modification

I'm thinking about DOM modification performance. In a perfect way, we alter each element but DOM modification is really heavy and alter many elements at same time froze the browser. I didn't make any ...
0
votes
0answers
17 views

Servlet to generate HTML printable form

I'm using a java servlet to generate HTML code to produce a printable form. I want the form to look like the paper version being used now (or as close as possible) to reduce confusion during the ...
2
votes
1answer
48 views

Optimizing Java HTML parser

I wrote a program that goes through a webpage and returns matches of regex. I used it on my letterboxd.com account to go through all of my movies (over 900 entries) and then find genres field for each ...
0
votes
0answers
24 views

Moving the HTTP and Request to controllers and Routes

I am new to Laravel framework and I made a project application which is working fine but someone said You should avoid accessing the Request object in your views. here is the full application ...
0
votes
0answers
10 views

Need to Trigger the calculation of work timings by windows lock [closed]

I have written a script in HTML using JavaScript to calculate my work time in the office. Please find my working code below for reference. In this I need to click on the pause button manually when ...
3
votes
3answers
83 views

Upper section of a vertical single-page website

This is my very first attempt to write HTML and CSS. I designed this website for a friend. I'm not sure if I used the best practices or maybe I did something wrong but I just started my learning ...
2
votes
3answers
70 views

C++ Tree Class implementation

I am trying to implement a class for the Node of a Tree in C++ in order to represent an HTML structure. It is not complete by a shot, but i'd still like an opinion. TreeNode.h : ...
6
votes
2answers
53 views

Bash script to extract HTML comment into a Markdown file

I learned Bash a million years ago. I just wrote this simple script used to get the first lot of HTML comments from a file, and spit it out in order to create a ...
0
votes
0answers
19 views

Idle game code optimization

I am currently making an idle game, and I currently have a few issues about optimization that I want to fix (which I will list at the end). But first, the code: main.coffee ...
4
votes
3answers
53 views

Basic HTML structure for three columns of articles

I'm new to HTML and programming in general and I want to make sure my code is organized and that I'm using the best practices while I go along. So, I made this example layout I would like to convert ...
4
votes
2answers
65 views

jQuery functions to add corresponding entries of lists

Thanks to this post, I was able to create a working piece of javascript that fits my needs. I have a div/ul/li based table where each "row" has 2 values that I want to have the sum for. Currently the ...
4
votes
1answer
97 views

Automation project

There are buttons on a page, each corresponding to a different code that needs to be sent to PubNub DSN, which is published to my home server to operate specific on/off commands for various lights in ...
1
vote
1answer
61 views

Moving To Object Orientated Programming

Please keep in mind I am new and still learning when reading the following. What I am doing I have the following code which pulls a sport, tournament and round NR, from a DB table called ...
9
votes
2answers
83 views

HTML5 markup for blog article

Recently I started a blog project. It is my first time that I create something so advance. I use task runners, SEO optimization, preprocessors, I will code in full stack environment and all the other ...
0
votes
0answers
17 views

Traffic Light Logic using angular

I am pretty new to angular and have implemented a traffic light logic for practice and would just like to see if I can improve it? Any suggestions on best practices and logic setup would be great. ...
1
vote
3answers
48 views

JavaScript validation form

Could this code be improved? Would you suggest more sophisticated way of doing client-side signup validation? ...
3
votes
1answer
84 views

Simple jQuery photo slider

I'm fairly new to front end web development, but finally felt confident enough to create my own jQuery slider. I wish to receive constructive criticism about my code, how I can optimize any line of ...
5
votes
3answers
132 views

Changing color on button click

I have an html button that when the user clicks the button it will change color from blue to red and back. Is there a better way to do this in jQuery? HTML/jQuery ...
3
votes
0answers
22 views

Create archive webpage for newsletters based on nested array

I am creating a webpage for my newsletter archives. The archives are divided by year (currently there is only 1, but there could be many), then by topic, before listing each newsletter. There will ...
5
votes
1answer
72 views

Single Page portfolio website

I have finished and launched my first website and would love some feedback/ideas for improvement. This is a single page website for the purpose of displaying my finished projects. I know that I have ...
3
votes
0answers
23 views

Fluid HTML email template

I created this as a template for our email marketing team to use when creating emails. For fluid/responsive behavior, I am using max-width and conditionals for clients that do not support it (e.g., ...
2
votes
0answers
33 views

Using Flask-SocketIO in conjunction with Flask-WTF / WTForms to provide realtime form validation feedback

I am working on a user login using Flask and the following extensions: Flask-Login, Flask-WTF, ...
1
vote
0answers
35 views

Created a game of Simon using HTML, CSS, and JavaScript

Here is the JS Fiddle: https://jsfiddle.net/4jo9hvpk/ The code is fully functional. Could someone point out any mistakes in style? Any redundancies? I want to work on making my code look better and ...
3
votes
1answer
28 views

Basic ul li elements in JavaScript listeners

I am learning JavaScript and I have written a code snippet. Can someone suggest some improvements? ...
1
vote
0answers
37 views

Printing many-to-many relationships in an HTML/bootstrap table

I need to print the many-to-many relation ship in my tablet. However, I don't know what to do for my case: I tried tons of ideas, however, I may have done something wrong because nothing worked. Here ...
1
vote
2answers
47 views

Website code for a client

This is for a client of mine: Enbridge Gas. I had to turn 2 .psd file into html and CSS. This client is my first real client by myself and I want to make sure my code is improved as much as possible. ...
2
votes
2answers
42 views

Retrieve data from json file and avoid HTML/JS tight coupling

I am retrieving data from a json object and even though code works I am not sure if I am following best practices. In particular some of the objects seems too deep (like value.metadata.connections....
5
votes
0answers
52 views

HTML page compiling LaTeX code to nice mathematics display - 2nd attempt

I have this page that allows a user to quickly compile \$\LaTeX\$ code into a mathematical display. Whenever the user compiles the code, that page also generates an URL from which it is possible to ...
3
votes
2answers
127 views

Form validation library

Background: After reading this thought provoking book I decided to write a small library as an exercise. ...
1
vote
1answer
43 views

Loading an animation with an Ajax request

I am not sure if this is the correct way to make an Ajax request and do the typical loading/processing GIF/animation while processing is happening and displaying the response. HTML: ...
1
vote
1answer
25 views

Sidebar menu to hide or expand parts of a form

I have some of my code that I have tried to improve on to make it cleaner and efficient and I would like some feedback to see if I am going in the right direction with what I am trying to do. I have ...
0
votes
0answers
13 views

Responsive Web form with Foundation for sites

I have made this web form for user registration. The requirement is that it can be used on different devices, respectively screen sizes. With you tinkering I was able to make this current version ...
3
votes
1answer
31 views

Displaying user selection in the browser

I have the following script that reads JSONified data from within a DIV, generates HTML with values using JavaScript, then sends them to another DIV. What I'd like to improve is to remove HTML from ...
2
votes
1answer
105 views

HTML generation in C#

I have a method that generates some HTML, but it looks ugly to me. Maybe there are some better solutions for this? ...
6
votes
1answer
130 views

Simple restaurant menu

As stated in the title, the code produces a simple drop-down menu that allows you to select your Starter, Main and ...
0
votes
1answer
63 views

Replacing DOM elements that have no attributes

The institution I work for uses an application that has an awful software bug causing useless <code>span</code> tags to appear next to "misspelled" ...
1
vote
0answers
25 views

Universal CSS template for global styles

I 'm trying to create a universal CSS template for global styles. I can not find unambiguous recommendations. After inspecting various sites, I have compiled the following template . I ask your advice ...
2
votes
1answer
54 views

Regex Tool in PHP

I'm looking for feedback about anything and everything to do with this short program. For example, is there a risk in not sanitising the data, and if so, how would I do that given the need for non-...
3
votes
3answers
74 views

Wikipedia Viewer

This is one of the projects on freecodecamp. I would like a review on my code. Thanks in advance. Javascript: ...
1
vote
0answers
25 views

Formatting a CHANGES text file as HTML

I have a function which is used to convert text (a CHANGES file) into HTML for reading. The function is essentially line-based: if the line is of this type, do this thing; if some other type, do that ...
0
votes
0answers
15 views

My first form in BEM style + SASS

3 days ago I have found out about the BEM schemantic. I have googled a bit and tried to do my first login form with BEM + SASS. One problem I had, was to find correct names. However in my opinion as ...
0
votes
1answer
48 views

Easy Print PHP From Data array or objects

I have created a PHP class to print into html easily from an array or object. Using this class, you can get rid of multiple echo blocks or ugly concatenation ...
2
votes
1answer
43 views

Stranded messaging Angular web app - main template for all views to live within

I'm making an Angular web app to solve a pain with traditional messaging my friend and I had, of sending batches of messages (on multiple different topics) to each other every few hours and not having ...
2
votes
1answer
32 views

Shortening Divs

I have a project here that looks pretty good and does exactly what I want it to do. The codepen is here. What I need to find out is if these divs that flip can be shortened in any way: ...
2
votes
2answers
47 views

Selecting one form to be visible using jQuery

I'm new to JQuery but have managed to get it working the way I want. The problem is, it's a bit convoluted and could easily get out of hand if I add more options. I am trying to show and hide divs ...