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

5
votes
3answers
655 views

Efficiently generating HTML CSS table using Java

I am trying to generate an HTML table using Java. I have an object which I am iterating to make an HTML table. ...
1
vote
1answer
14 views

Showing a spinner over content - fade out some elements and disable clicking on some elements

I am displaying a loading spinner inside of various elements. There are four potential states an element could be in: Reduced opacity; unresponsive to pointer events. Reduced opacity; responsive to ...
-1
votes
0answers
24 views

Positioned elements acting weird [on hold]

I'm looking for some tips on how to properly organize my code so I don't run into as many errors as I have been lately. One of my problems right now is that my elements are positioning weirdly. My ...
1
vote
1answer
40 views

jQuery Widget - Progress Tracker

This is a follow up on JS Progress Bar Widget I've rewritten it as a jQuery Widget Factory widget, attempting to follow that standard as much possible and fixing the various problems pointed out in ...
1
vote
0answers
15 views

Vertical-align in Nested Column

Requirements: There is Two Column, The left column is fixed width The height of two Column should be the same. Left column contain a title (can be multi-line), and an Image (limit max width to left ...
5
votes
1answer
47 views

JS Progress Bar Widget

Demo of the widget: http://jsfiddle.net/slicedtoad/Lywvbsf4/ It's a progress bar that shows a list of steps and which one is being completed as well as allowing previous steps to be revisited. It ...
1
vote
0answers
18 views

Stylish range input, Google Chrome only

I have an input[type=range] element which is customized using CSS to look more modern. I'm unhappy with my CSS because of the need to use ...
3
votes
1answer
201 views

HTML 5 Blog Layout / Markup

I'm creating a WordPress theme in HTML 5 which is relatively new to me. I've read up on it and I read things that seem to contradict one another or differing opinions. One of the big things is where ...
12
votes
3answers
138 views

Stylish underline when input is focused, modern browsers only

I've got a text input element which is decorated with an underline. The underline goes up half the height of the input on either side of it and turns blue when the input is focused. It's similar to ...
1
vote
0answers
21 views

Bootstrap CSS Container Layout

I've always been used to write my own CSS but I decided to give a go to twitter-bootstrap and I want to make sure I'm not using more HTML containers that I need to: This is my code for a single ...
0
votes
0answers
6 views
0
votes
1answer
17 views

Can I use a header tag in footer inside section?

I want to know if I can use a header tag in footer inside section. I also want to know if this follows SEO. For example, I made four section boxes in footer: ...
5
votes
1answer
100 views

Transforming jQuery form code into clean code

The following JS code handles when the form is submitted and some little extra stuff. I'd like to have it reviewed on the following aspects: Readability Efficiency Usability OOP It works exactly ...
3
votes
1answer
39 views

Escaping photo caption to avoid cross site script attack

I am a PHP newbie and this is part of a gallery code. I recently read about SQL injection and cross site scripting attack, I am trying to avoid that by html escaping on dynamically produced data. I am ...
2
votes
1answer
16 views

Script for validating a booking form

This PHP script to validates a booking form. (There is also a JavaScript validation as well, but please ignore.). I want to know if there is a better/more efficient way of writing it? I have created ...
11
votes
2answers
247 views

Markdown to HTML

...
5
votes
3answers
623 views

Most basic HTML website - naming and CSS rules

I'm trying to accomplish something very simple as seen here. HTML ...
0
votes
2answers
24 views

XSS Vulnerability on website

I'm using these functions to filter my all input variables. ...
1
vote
1answer
23 views

AngularJS expression redundancy in templates

I sometimes find myself using multiple expressions checking on a single flag to control the state of some template, in this example, a Facebook log in button. On a second look, however, I noticed ...
2
votes
0answers
29 views

Client-side XML + CSS architecture

Background With the goal of creating a simple architecture, I am wondering about the implications of a client-side rendering implementation. The request architecture resembles: ...
2
votes
1answer
69 views

Using fewer foreach loops to bind values to parameters in PDO

I want to make a query to order by the IN clause items. I read from another thread that I can use ...
3
votes
1answer
68 views

RESTful workaround

I met the RESTful ideology and I fell in love with it. However the only request methods supported by HTML forms so far are GET and ...
5
votes
1answer
54 views

Displaying styled validation messages to user

I'm new to AJAX and jQuery, Just for test I created this simple code. When the user enters their First Name and their Last Name it displays a message that says Thanks for entering everything ...
3
votes
1answer
62 views

Toggling element class according checked radio input V2.0

This question is about an improvement of the code from this previous question (previous changed visibility, new applies a CSS class with a border). It is a constructor function that attaches a click ...
14
votes
2answers
346 views

Tic Tac Toe in plain JavaScript

I have created Tic Tac Toe game using plain JavaScript. Can any javascript expert review it and let me know whether the way I have written JavaScript code that is right (preferable)? I am unsure that ...
2
votes
1answer
72 views

Filter on HTML table using jQuery

I am adding some check box filters on a HTML table, based on whether a check box is checked or not, and I am toggling rows. Is there anyway I could improve this code? There is no issue with it at ...
6
votes
2answers
149 views

Checking CSS code for best practices when mimicking

I'm currently looking to try learn CSS properly and I'm looking to recreate the following image using CSS: Now I've managed to recreate the image (sort of) what I am looking to know though is based ...
11
votes
2answers
981 views

Is this safe against major XSS attacks?

I am building a classifieds website here in Portugal, and I'm now in the security phase. So until now, I already made what I think is a good measure against SQL injection: ...
7
votes
2answers
102 views

HTML inline CSS

This HTML code seems to work: the page looks as I intended it. I have checked it multiple times, but it's difficult to tell how to improve. I would like somebody to review and point out any mistakes ...
5
votes
1answer
59 views

Filling a table in code behind

I was wondering if there could be an easier or simpler way of filling a table with code behind. So far I have my html/asp.net table : ...
2
votes
1answer
77 views

Parity Bit Generator Webpage

JavaScript concerns Is this the best way in jQuery to handle a button being pressed without making an HTTP req? ...
1
vote
2answers
58 views

Basic product builder

I'm developing a very basic product builder. Part of the builder has a basic text editor including some text color presets. As it stands, the presets remove a class that defines the text color and add ...
2
votes
2answers
166 views

Cleaning up a rotating image gallery

I have created a nice little image gallery for the web. I set out wanting 3 things. 1. The whole gallery had a basic level responsiveness to it. 2. The gallery would take images of any size, and ...
3
votes
1answer
40 views

Content filtering of webpage

This is code for filtering the data of webpage, for the web crawler I made for my project. I know python scripts can lag than other languages, but this takes a lot of time when processing even a ...
2
votes
0answers
32 views

Web component design, attribute or content HTML?

Which one of these web components is designed better? Option 1 contains an a tag within the custom element. ...
6
votes
1answer
60 views

Readability of this Perl script to generate HTML code

I'm writing some scripts for a project which need to be maintainable. Someone will be coming in and taking over after a while and I want it to be easy for them to understand what's going on. What it ...
2
votes
2answers
43 views

CakePHP view with interleaved PHP and HTML

It's CakePHP, though I'm more interested in what people think about the layout of the indentation, the mark-up, position of logic etc. Any feedback that relates to the subject of writing CakePHP ...
5
votes
1answer
53 views

Sass code for displaying two simple search forms

Sass code for creating a basic search box. Resulting CSS used for two that are different widths. The goals is to define sass that generates CSS that is easily re-usable as well as concise and ...
7
votes
1answer
142 views

Algorithm simulator (bubble and selection sorts)

I am concerned where it can be improved. Main concerns are coding style. Any other improvements are welcome too. Priority is on JavaScript, review for HTML/CSS are welcome too. What it does: ...
7
votes
1answer
89 views

Game of Life - OOP and Best Practices

I always have a problem figuring out what good JavaScript coding practices and conventions are and if I'm following them, especially concerning OOP. So I implemented The Game of Life and wanted to ask ...
1
vote
1answer
29 views

Should I include a view for each message?

For now, I have two views using Twig: messages.html.twig item.html.twig The first one is the view which displays all of the users' posts in my forum. When a user post a new message, it's done via ...
3
votes
1answer
71 views

Basic form to create, load and edit entries (server-sided stored in a text file)

To understand the basic workings of PHP I wrote a test page where one can create, load and edit entries (name-info-pairs) in a list. It would be cool if you could give me some advice on that to ...
2
votes
3answers
152 views

Foreach loop to generate HTML table with title in first cell of each row in PHP

I've used quite a lot of foreach loops to achieve this type of HTML table that has titles in the first cell of each row: ...
6
votes
2answers
178 views

Forum Sign up and Sign in software

I would love to have your reviews of this sign in and sign up system. You can see the main structure: For now, I have a total of 13 files (index.php, ...
2
votes
1answer
28 views

HTML for optimal output in Outlook

I am unable to use CSS for this as I am disseminating this information via e-mail through a sharepoint workflow. I have tried to make this code as MS Outlook compatible as possible. (I removed all ...
2
votes
1answer
60 views

Parsing XML to send data into several files

My code works for the most part. (The problems are on the html side not the python side) however I feel it could run quicker or more efficiently. Due to the size of the XML document it parses it's ...
2
votes
2answers
85 views

Simple JavaScript HTML table generator

This is my simple implementation on JS HTML table generator which generates a table based on an array of JS objects. ...
10
votes
3answers
151 views

CSS3 heavy transitions performance enhancement

I am building a website with heavy CSS3 transitions. The menu is hidden on the left and slides in on hover pushing the main content right. The menu contains transformed elements and has a semi ...
3
votes
1answer
44 views
4
votes
1answer
52 views

Using/storing server-side data on the client side

I've a slot booking script which is as follows: My Current Algorithm A calendar is shown to the user The user clicks on a date I make an ajax call to determine if at least 1 slot is booked on the ...