Web Developer Notes - Page 5
Internal Linking on Websites
Last updated: 07.04.2026
Views: 685
Internal linking refers to the practice of connecting pages within the same website using hyperlinks. This strategy plays a crucial role in both search engine optimization (SEO) and overall site usability. When implemented correctly, internal links help search engines understand the structure of your website and the relationships between individual pages.
One of the key benefits of internal lin...
Making a Query in Salesforce Using SSJS
Last updated: 09.04.2026
Views: 585
When working with Salesforce Marketing Cloud, you may need to send data to an external service or fetch content dynamically based on request parameters. Server-Side JavaScript (SSJS) gives you the flexibility to perform HTTP requests, handle responses, and manipulate JSON data directly within your cloud pages or emails. In the example below, we use Platform.Load to initialize the core library, ret...
How to Submit a Form Using jQuery Ajax ($.ajax)
Last updated: 09.10.2025
Views: 861
Submitting a form using jQuery's $.ajax method is a powerful way to send data to the server without reloading the page. This approach improves user experience and allows for more dynamic interactions. You can handle form submissions in multiple ways, either by serializing the entire form or manually collecting input values.
Example 1: Using serialize()
The serialize() function automatically ...
Image Scaling Problem in Outlook
Last updated: 09.04.2026
Views: 483
Creating HTML email layouts is a fairly complex and not always enjoyable process. This is mainly due to the fact that many email clients do not support modern web standards. In addition, there is a huge number of different email clients and services.
When I was composing HTML emails, I encountered the fact that in desktop Outlook (it turns out that someone else uses it) the images were displaye...
Protecting a Website or Directory with a Password Using .htaccess and .htpasswd
Last updated: 26.10.2025
Views: 603
Securing a website or a specific directory with a password is a simple yet effective way to restrict access. This can be done using .htaccess and .htpasswd files in Apache. The .htaccess file controls access, while the .htpasswd file stores the usernames and hashed passwords.
Video Instruction
The video instructions show a slightly different setup option.
Creating the .htpasswd File
The ...