Recent change to link html code?

I’ve noticed recently that links are being added with different variations in the html code, eg

<a href="http://link"></a>
 <a href='http://link'></a>
 <a href="http://link" /></a>

Whereas usually it was simply <a href=”http://link”></a>. I’ve noticed in a lot of my WP-based engines that if a link is submitted with href=” (single quotes) rather than href=”” the link will not get posted correctly. I’ve had to add:

html to custom link format=1
 custom link format=<a href="%url%">%anchor_text%</a>
to my engines to fix this issue. I haven’t had a chance to do much testing with the default engines but am not sure whether it’s having an effect on them or not.

Do I just put the html in a page when enqueueng or do I also have to reference js file from the html page

I am trying to get my javascript to work in my page, but I have always just put the html on the actual page, but now am wondering if I am supposed to put the <script src before the html as well to make the code work in order to reference the javascript. I have enqueued everything, the js and css from the functions.php Here it is:

<script src='https://artandleatherspencer.local/wp-content/themes/twentythirteen-child/js/myscript.js)  <div id="clockContainer">  <div id="hour"></div>  <div id="minute"></div>  <div id="second"></div>  </div> 

here is the code in the functions.php:

function childtheme_parent_styles() {     wp_enqueue_style('parent', get_template_directory_uri().'/css/style.css' );     wp_enqueue_style('mytheme_main_style', get_stylesheet_uri());     wp_register_script('main-js', get_stylesheet_directory_uri() . '/js/main.js');     if( is_page(507) ) {         wp_enqueue_script( 'main-js');     } }  add_action( 'wp_enqueue_scripts', 'childtheme_parent_styles'); 

and here the javascript in main.js in js folder

console.log('executing scripts.js');  setInterval(() => {     d = new Date(); //object of date()     hr = d.getHours();     min = d.getMinutes();     sec = d.getSeconds();     hr_rotation = 30 * hr + min / 2; //converting current time     min_rotation = 6 * min;     sec_rotation = 6 * sec; = `rotate($  {hr_rotation}deg)`; = `rotate($  {min_rotation}deg)`; = `rotate($  {sec_rotation}deg)`; }, 1000);       

css: in style.css file

#clockContainer {     position: relative;     margin: auto;     height: 40vw;     /*to make the height and width responsive*/     width: 40vw;     background: url(clock.png) no-repeat;     /*setting our background image*/     background-size: 100%; }    #hour, #minute, #second {     position: absolute;     background: black;     border-radius: 10px;     transform-origin: bottom; }    #hour {     width: 1.8%;     height: 25%;     top: 25%;     left: 48.85%;     opacity: 0.8; }    #minute {     width: 1.6%;     height: 30%;     top: 19%;     left: 48.9%;     opacity: 0.8; }    #second {     width: 1%;     height: 40%;     top: 9%;     left: 49.25%;     opacity: 0.8; } 

A way to upload old html pages with all its assets via WordPress admin and to add a fixed menu on top of those (a la Wayback Machine)

Inside a WordPress website I manage at a custom hosting, I want to have a few joke websites that looks like personal Geocities pages from the 90s, with animated gifs and all. Generally I edit these pages at a text editor manually and upload them with all the associated assets in their own folders, completely outside of the WP ecosystem. The problem is that I’m having big trouble by adding anything outside the core WP folders in the hosting I’m using for some reason. I don’t think it is a problem specific to WordPress (the hosting is new and has some very aggressive security measures), but regardless that issue, I was also thinking to figure some way that:

  • I can upload all the html pages, its images and all INSIDE the WordPress admin (including having some chance to replace these very html pages if I want to update its content or such, even if I have to re-upload a new html page locally rather than edit it inside WP), and
  • A way via WP itself that adds some fixed frame at the top or the bottom of all uploaded html pages, merely with the main site name and some button to go back to the main page, not unlike the fixed navigation that appears at the top on old webpages on the Wayback Machine on (that site is not built on WordPress, but you get the idea).

It’s short of embedding a website inside a regular WP post type while being also able to edit these inside WP at will, but I don’t know if there’s a clean way to to it. At the moment I only have a few html pages that are independent of each other, but eventually I would want to have a full old fashioned website and I would need that all the links inside these works and to not upload twice any resources each html page has.

What would you tell about HTML 5/JavaScript browser gamedev to somebody who has been in a coma since 2014? [closed]

In 2014, I last attempted to make a browser game with HTML 5 and JS. That’s now 7 years ago. But it feels like 7 weeks, tops.

If this has been the the difference between 1994 and 2001 (instead of between 2014 and 2021), it would’ve felt like two different eras of human history. I have a feeling that not much has changed in the last seven years, however, but please prove me wrong.

One of the major issues I remember having was how bad HTML 5 Audio was. In order to get panning and volume changes, we were forced to rely on an Adobe Flash hack, which essentially made our games require Flash even though they were HTML 5-based except for simply outputting the sound. I assume that this is no longer the case.

To make it clear, I’m talking about "raw" coding in HTML 5 Canvas with plain JavaScript. I’m not talking about using some framework/library to hold my hand. And this is not because I’m such a masterful coder or anything, but simply because I found it more confusing to use any of the existing gamedev libraries at the time, and I suspect this is still the same. Keep in mind that I cannot afford to pay a single dollar, so any payware library (which may be great) is out of the question right from the very start.

Sorry if this is considered "too broad", but what should I know about the current "landscape", and have there been major/fundamental changes in the HTML 5 APIs, Canvas performance, etc.? Since 99.99% of all browsers now use Chrome under the hood, it feels like the "web" is now to be considered "Chrome" in practice. I mean, I don’t even have a Chromium-based browser installed at all. I only have Pale Moon (Firefox fork). I probably will download and test my stuff in NW.js, though, which is using Chromium.

I probably should mention that I was never able to figure out how to use WebGL, and that library (Three.js?) was so badly documented/designed that I could never figure out how to use it. Is the "good old" HTML 5 Canvas still not hardware-accelerated?

Complete Html tutorial from the base

To view these tutorials, just go to the link below.
Thank you for your comments about our tutorials.

basic Html tutorial – part 1
Introduction ,Headings ,Paragraphs ,Links ,lists ,Insert a photo

basic Html tutorial – part 2
Text Formatting, HTML comments, Quotation and Citation Elements

HTML Intermediate Tutorials – part 1

Complete Html tutorial from the base

Not so common HTML transition to wordpress issue

This is one possibility most of the time:

<div class="wrap">     <header></header>     <main></main>     <footer></footer> </div> 

But my design is like this where wrap has a flex, and the sidebar and main are horizontally positioned. →

<div class="wrap">     <section class="sidebar">         <header></header>         <footer></footer>     </section>     <main></main> </div> 

Here header and footer are one after another in the sidebar and the main content is in another container. How should I transfer this HTML into WordPress? I am facing a mental obstacle.

Excel to HTML Table

I am trying to create an HTML table that reads in Excel file. At the rightmost column, is a checkbox column where we can select the rows we want. The user opens the file, and then reads it to a table.

 <body>         <h2>Data in excel file</h2>         <input type="file" id="input">         <table id="tdata">             <thead>                 <tr>                     <th>Name</th>                     <th>User ID</th>                     <th>Staff Type</th>...
Code (JavaScript):

Excel to HTML Table