Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [html]

HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How do I add a hyperlink in one HTML file to another HTML file?

I have a Documents folder, which is of the Document Library type. Inside, I have a temp folder that includes two HTML files: a.html and b.html. In the a.html file, there's a link to the b.html file (B ...
Natalia Jasiczak-Knop's user avatar
0 votes
0 answers
15 views

target="_blank" attribute is stripped out of <area> elements on SPO page

SharePoint Online is stripping the target="_blank" attribute out of my <area> elements when I add them to a page by editing the markup directly. This is the relevant code I am ...
TylerH's user avatar
  • 254
0 votes
1 answer
15 views

Host a static JS-enabled webpage behind SharePoint credentials

Looking for a simple solution. My clients want a static JS-enabled webpage deployed in such a way that users need to enter their SharePoint credentials in order to see it. As a result, we cannot put ...
Wynne's user avatar
  • 101
0 votes
0 answers
14 views

Power Automate Email Action - Body won't stay in code view after Saving

I have a flow that sends an email with a logo at the top of the email body. In order to have it display in the email body, I need the Send an Email 2 action to be in Code view. Each time I change it ...
Chris's user avatar
  • 409
0 votes
2 answers
24 views

Running a function within a .ts file that is triggered by a button inside of a separate .tsx file

My issue is that there is an html button that exists inside of my. tsx file, and I cannot get a function to fire When that button is clicked. The tricky part is that I need for a function that exists ...
Java Uzumaki's user avatar
0 votes
1 answer
25 views

Modifiy HTML, CSS, JS, in Sharepoint 2019 On Premises Modern Site

I am new to SharePoint 2019 On Premises, I would like if someone can help me to know how I should do to modify a modern page of a site, I would like the basics, change the font, adjust the size of the ...
Emmanuel's user avatar
0 votes
0 answers
87 views

How to request HTML of whole page via SharePoint GraphAPI? (not only WebParts)

I'm trying to display SharePoint pages on a webpage through SharePoint GraphAPI. I used WebPart endpoint to get HTML content of SharePoint page (https://learn.microsoft.com/en-us/graph/api/resources/...
David Holada's user avatar
0 votes
0 answers
14 views

SharePoint deleting html attribute

I want to put a multilevel accordion based on this : https://codepen.io/gamechci669/pen/VwEKpbb When I edit the HTML code on my page, lines with attributes "for" lose this! For example: <...
AnthonyS's user avatar
1 vote
1 answer
131 views

Image Map not showing on Sharepoint

I have built a HTML image map which works just fine while both the HTML file and the image are on my local Desktop (i.e. same directory). Yet as soon as I upload both to the SharePoint document ...
Nyota's user avatar
  • 13
0 votes
0 answers
104 views

I need to open a sharepoint document in new tab in browser directly from the sharepoint site we created for this project using jquery calls and html

$(document).ready(function() { // Attach a click event handler to the document link $('.document-link').click(function(event) { event.preventDefault(); // Prevent the default link behavior ...
pavithra ramaswamy's user avatar
0 votes
0 answers
23 views

When creating a subsite using custom template in SPO Classic Site, Does the id of html elements change?

I have a SPO Classic site. In of the forms, I have CEWP that needs to access the html elements present in the page. Now this site will be used as template. I wish to know if the code will continue to ...
raeAlteR's user avatar
0 votes
0 answers
496 views

Cannot Embed HTML with JavaScript

I am trying to embed a local HTML file with inline JS on my SharePoint page. The HTML shows up but the JavaScript is blocked. The HTML file embeds, but the JavaScript does not run. Here is the error I ...
DarthCaniac's user avatar
0 votes
1 answer
274 views

Searching for specific text in html code of SharePoint Online page

On a SharePoint online modern site, I need a JS variable to search for a specific string of text in the code of the page (this variable is for Google Tag Manager). I have tried: function() { var ...
dominique's user avatar
2 votes
1 answer
238 views

Is it possible to customize the HTML from a Sharepoint Modern Experience page?

I know that you can customize the HTML/CSS of a Sharepoint Classic page. But is it also possible to do this with Sharepoint Modern Experience page? If so how?
user1903995's user avatar
1 vote
2 answers
620 views

Custom Page in SharePoint Online

I would like create a custom page in the SPO using SPA with HTML,CSS and JS. I was not able to find a way to start with I want complete page or Full Page. I want create like webpage with responsive to ...
striker92's user avatar
  • 113
0 votes
1 answer
288 views

SharePoint Online JSON Wrap Code with fetched HTML

I have a SharePoint Online List linked to a Power App. When I enter Comments in the Power App, the comments get flooded over to SharePoint list. However, when the comments get populated in the ...
longhornlion79's user avatar
0 votes
1 answer
983 views

Static HTML page (renamed to ASPX) and saved to OneDrive is displayed everywhere except on Android

I have a simple static HTML web page that had its extension renamed from HTML to ASPX, in order for it to be viewable via SharePoint, OneDrive or Teams. This is the HTML test file I used: <!DOCTYPE ...
David.P's user avatar
  • 81
0 votes
0 answers
21 views

SharePoint Lookup column with Handelbars

I am using Content query to get information from SharePoint list and display them via Handelbars template on a SharePoint SPFX Page. Everything works fine except for column defined with lookup. For ...
Marc's user avatar
  • 1
2 votes
1 answer
760 views

Error on Adding an HTML onto SharePoint Site Page

I'm trying to add an HTML into my SharePoint Site Page (Teams Site) and am following the instructions at this link here from Microsoft which guides on how to do so. Steps: So I've renamed my HTML to ...
kodikai's user avatar
  • 141
0 votes
0 answers
36 views

Where do I make HTML edits in SPD for Modern page?

I have a Communication site in which I need some custom spacing and icon-styles, so I'm adding a Text web part, and inserting a table to try and make this possible. Since we can't remove the ...
Chris's user avatar
  • 409
0 votes
2 answers
289 views

How to format results from rest api sharepoint jquery

I am using rest api to get results in below format but how shall append my result to get in desired format and on click document should open new tab my code function getListData() { var ...
Ashok 's user avatar
  • 59
0 votes
1 answer
284 views

Custom banner overlapping the page

I am trying to add a custom banner to the SharePoint Online Page (Classic experience). Unfortunately, the banner is overlapping other elements of the page. This is what I am doing: Created the code ...
Lukas's user avatar
  • 65
0 votes
1 answer
914 views

Editing a modern SharePoint page built with html-hard code

I have a SharePoint site that I need to make a few minor changes on. The problem is that this page was built with html/hard-coded, so it won't allow me to simply click "Edit page", then do ...
Chris's user avatar
  • 409
0 votes
1 answer
104 views

REST not "GET"ing data from inside SharePoint

I am trying to use REST to get data from inside a SharePoint list. The HTML/ASPX page that makes the request resides in the site assets library. It returns nothing. Any idea why? Please see below: ...
user5654858's user avatar
0 votes
1 answer
170 views

How to upload a static HTML site using only PnP Powershell access?

If I have this example static site: https://github.com/Azure-Samples/app-service-web-html-get-started How do I get this visible as a static site in my office365 online sharepoint. I can successfully ...
Ryu S.'s user avatar
  • 101
1 vote
1 answer
592 views

SharePoint 2019 - how to not preview html code in browser and preview html file as a page

I am unable to view HTML files uploaded in SharePoint 2019 library. When I click on the files in Chrome, it downloads it. In Edge, when I click on it, it opens html code in preview code editor in the ...
Sameer Kumar's user avatar
1 vote
0 answers
219 views

"Create HTML Table" CSS Style to Format SP List as Single-Column layout

I am using a SharePoint List to store News Clips related to my company. I have created a flow to auto-send them to a distro list, and achieved a clean table, but wish to create an email where the ...
naridox's user avatar
  • 23
1 vote
1 answer
6k views

Is there any way to pass html content while triggering mailto: option?

While triggering mailto: link, is there any way to pass some predefined HTML to the opening mail?
JishinK's user avatar
  • 175
0 votes
1 answer
21 views

How to post files from Linux, viewable from an old device that cannot log into SharePoint?

My workplace provides me with a Microsoft 365 Business Standard account. I have a Linux computer that just sits in the corner, creating an HTML page with some simple, yet important alerts. The HTML ...
Village's user avatar
  • 51
0 votes
2 answers
741 views

Create a list item using Sharepoint REST API and HTML

I'm working on SharePoint Server 2016. I have a modal with some input fields and a Submit Button. And I used jQuery to extract text from input fields in Modal. When I click on Submit, nothing is ...
Venkat Sai's user avatar
1 vote
4 answers
844 views

SharePoint list item into PDF

I have a list in SharePoint - the result I need is any individual list item selected I need to output into a formatted PDF. I have the power automate flow working ok with some template HTML code, but ...
Kat Mcfarlane's user avatar
0 votes
1 answer
403 views

HTML showing up with inserted text via REST API

I am getting the value from a text field and then inserting the value into a SP list. The problem is that when I check the console the field shows HTML. var txtField = document.querySelector('#...
martinbshp's user avatar
1 vote
0 answers
20 views

Manually Edited Word Files Created From HTML Documents Stored in Doc Libs Have Black Image Placeholders

I have an app in SharePoint that builds HTML markup containing an image (logo) inserted in the markup using base64-encoded and then creates a Word (doc, not docx) file in a SP document library You can ...
Steve Penn's user avatar
1 vote
2 answers
272 views

SharePoint Custom Landing Page

I have created a very simple HTML single page which I want to use as a "Landing Page". Is it possible to replace the whole page with the HTML page? I've tried a web part page, and a wiki ...
BeerusDev's user avatar
  • 113
1 vote
1 answer
2k views

Importing HTML files into SharePoint

I am in the process of moving an intranet website from a outdated platform to SharePoint. I have the HTML files from the previous site that I am going to clean up and would like to bulk upload into ...
Daniella's user avatar
0 votes
0 answers
204 views

Can't open an attached html file in a sharepoint list using browser

Every time I try to open an uploaded html file in one of my sharepoint lists it gets downloaded instead of opening the browsers. I found some solutions that were not optimal/doesn't work for me. ...
theknig's user avatar
0 votes
1 answer
165 views

SharePoint Subsite won't allow Inheritance of site master page from parent of this site

One issue I am trying to solve on my SharePoint site has to do with the Master Page itself, especially on the main site (domain.sharepoint.com). The master page contains headers (some single, some are ...
BeerusDev's user avatar
  • 113
1 vote
3 answers
1k views

Make html page with Sharepoint REST result

I'm new with javascript and HTML, so please be patient. I'm trying to make very simple HTML page displaying text with value stored in sharepoint 2013 list. I've made REST query in which I've item with ...
mrik's user avatar
  • 11
1 vote
2 answers
37 views

Simple Modal SP Online (2013) - not working

<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body {font-family: Arial, Helvetica, sans-serif;} /* The Modal (...
blackblossom's user avatar
0 votes
1 answer
377 views

How to add an overridable meta tag to a SharePoint 2013 html masterpage?

In SP2013, I have a master page (.html/.master) file that I want specific pages that use this master page to have the ability for devs to override a specific meta tag. Specifically this one <meta ...
omega's user avatar
  • 2,160
1 vote
1 answer
350 views

SharePoint button to link to Shared Network Drive

I have been trying to use the following, to createa button on my SharePoint site that will open a folder on my Shared Network Drive. I can hyperlink the network drive manually and it works. However, ...
Daryl's user avatar
  • 127
0 votes
1 answer
46 views

Refer to the entire list count instead of View count

I have this HTML code snippet, which is supposed to count the existing list items, to be used for token generation by adding 1 to it. But somehow its only counting the items that end user is able to ...
Rameet's user avatar
  • 15
0 votes
1 answer
192 views

Particles.JS Background for Body of SharePoint Page

I have created this particles.js script that I want to use for one of my SharePoint pages, but I am unsure of how to get it to insert to cover the whole background. I tried inputting it as a a script ...
codingdreaming's user avatar
0 votes
1 answer
11k views

Conditional table cell background color depending on value

I have a HTML table that I'm trying to change the cell background color to red depending on the value of the cell. Each cell will have a different threshold for when red is needed (one cell might be &...
mehumphry's user avatar
0 votes
1 answer
133 views

Accordion Collapses Immediately After I Expand a Row

I am creating a drop down table with Accordion on my SharePoint site. I referenced this page (P.S. I hate W3Schools) https://www.w3schools.com/w3css/w3css_accordions.asp#:~:text=An%20accordion%20is%...
BeerusDev's user avatar
  • 113
0 votes
1 answer
1k views

AJAX POST Request to SharePoint List from HTML Form

I have been working on a project for quite some time now. Functionality: Read in SharePoint list items from 8 different subsites with a GET request. Populate those items in an orderly(grouped) ...
BeerusDev's user avatar
  • 113
0 votes
1 answer
95 views

_x0020_ Not Working in AJAX

so I have 8 different SharePoint lists I am pulling from. And for aesthetic purposes I want to change the listname from something like "Program1" to "Program 1" as it doesn't ...
BeerusDev's user avatar
  • 113
0 votes
1 answer
108 views

After Rest Call, how do I get my results from a sharepoint list to populate an html table

Below is my code, obviously it isn't going to Run because I have external sources that I am pulling from. My main issue is that I can't get the listItemInfo from onQuerySucc to display in the table in ...
user92012's user avatar
0 votes
1 answer
47 views

Import Excel to SharePoint List Tutorial Error

I am attempting to import/copy excel data into a SharePoint list. I am following this tutorial to a tee: https://www.udayagirisreekanthreddy.com/2017/12/reading-excel-file-using-html-5-and.html?...
seaandtea's user avatar
0 votes
0 answers
31 views

How to stop CSS to be applied to a part of layout on the samepage

I have created a SharePoint Page using Wiki page option. - I used the two column option and created the page. Added the html code for accordions using the Js and some css style I did that by ...
Vishnu's user avatar
  • 1

1
2 3 4 5
11