HTML

60K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.

Share tech news, updates, or what's on your mind.

Sign up to Post

hi how can i display my login page like this

username xxxxxxxxxxxxxxxxxx
password xxxxxxxxxxxxxxx

at the moment is like this

username
xxxxxxxxxxxxxxxxx

pasword
xxxxxxxxxxxxxxxx
pagei also what image on top
this my html
<h2>Login</h2>

<form [formGroup]="loginForm" (ngSubmit)="onSubmit()">
    <div class="form-group">
        <div class="text-center">
            <div class="kv-avatar">
                <div class="file-loading">
                    <input id="avatar-1" name="avatar-1" type="file" required>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label for="username">Username</label>
        <input type="text" formControlName="username" class="form-control" [ngClass]="{ 'is-invalid': submitted && f.username.errors }" />
        <div *ngIf="submitted && f.username.errors" class="invalid-feedback">
            <div *ngIf="f.username.errors.required">Username is required</div>
        </div>
    </div>
    <div class="form-group">
        <label for="password">Password</label>
        <input type="password" formControlName="password" class="form-control" [ngClass]="{ 'is-invalid': submitted && f.password.errors }" />
        <div *ngIf="submitted && f.password.errors" class="invalid-feedback">
            <div *ngIf="f.password.errors.required">Password is required</div>
        </div>
    </div>
     <div class="form-group">
        <label for="Unit Code">UntCde</label>
  

Open in new window

0
My recaptcha v3 code has problems that are vexing me.  In recaptcha.htm, the jQuery function:   $.post("//www.themagnolia.com/reCaptcha.php", function is not sending the data (inputName, inputEmail, etc) to the php script at recaptcha.php; although token does seem to make it through.  For some reason, the result returned appears to be the literal html code for recaptcha.php, instead of success or failure.  It would help me greatly if someone could clue me in on what's wrong. The files are attached.
reCaptcha.htm
reCaptcha.php
0
I am relatively new to Wordpress and am trying to add code to a page.
Here is the code:

<div id="libchat_97a02353a0afcdc8a5eab67b19250e53"></div><script type="text/javascript" src="https://v2.libanswers.com/load_chat.php?hash=97a02353a0afcdc8a5eab67b19250e53"></script>


Although I have worked with PHP, javascript, and html extensively, I am at a loss on how to get Wordpress to recognize this code. I use the html editor on the page and the result is it simply displays the code, it should display a widget.

Any tips would be greatly appreciated.
0
I have a problem with our website i just can't seem to fix. The vendor that made the software says they can't do anything about it. I'm hoping you can give me a workaround.

Problem: We have one URL that is for OPEN A LOAN and OPEN AN ACCOUNT. Hence, all over our primary website when we advertise to open a loan or open an account they are directed to the same page. The page defaults to open a loan. So, if the member wants to open an account they must click the tab at the top of the page for open an account. Can you create me a specific URL or website code that if clicked on by the user will take them directly to the OPEN AN ACCOUNT tab?


Site: https://apply.cunj.org/VirtualCapture/Products

Thank you,
0
I am trying to pass the screen width to html tag
the following is not working

<html>
<script language='javascript'>
        function GetScreenWidth()
        {
        return  screen.width;
    }
</script>
........
<td align="right" width="GetScreenWidth();">
0
Hi experts,

I"m part of DevOps, and as part of my CICD pipeline (on AWS EC2), I send  notification/status report.

1. Build Status (Success / Failed)
2. Code Quality Report
3. Deployment Status
4. Healthcheck report for an enviornment.
5. everyday morning, afternoon, evening, send healthcheck report from all the environment.

In an Email, Microsoft Teams notification in a single line, table format etc.

Just wondering is there a attractive way to these reports and notifications, rather than traditional old table format please?

I was thinking, may be a flash card type colorful cards with details, with graph  etc. But again as an email but with avoiding simple table.

Any opensource, util that you can suggest pls


thanks in advance
0
I use html template: https://cssauthor.com/bootstrap-admin-templates/
and you can download here https://github.com/chaegumi/sb-admin-2-sammyjs

My question is

When the url structure like Domain/ParentApp/ChildrenApp/ - The left side nav menu is all expanded out.
When the url structure like Domain/ParentApp/ - The left side nav menu is working okay.

Do you know how to fix it?
0
Experts, I know that many of you may have just clicked on this link out of sheer disbelief after reading the title.  But I have been contacted by a site that still has Silverlight lurking in the shadows.

On the positive side, they want to replace the Silverlight.  On the negative side they want to replace Silverlight.   So I'd like input from what can I use in place of the Silverlight.  

I am told that many of the functions using Silverlight are already broken and that a site rewrite is out of the question.  So w/o specific details I'd like to replace the Silverlight code with html5 if I can get away with that.  

While I am a developer, for this particular project I would only be the project manager.  So anything you can share that would be helpful would be appreciated.  I'd like to hear what potholes I should avoid , or you think I am crazy for doing this (or your hero), (Or that you are waiting for me to fail miserably because it will build character).  OR perhaps you think I should run, while I can, lol.  

Points awarded for comments that help me know what I am walking into here. How can I tell how much Silverlight is being utilized?  Should we start remarking out code where SL doesn't work anyway and take this battle page by page?  Do you know of any helpful tools?

Anyways, Thank you in advance for your help.  

-Fox
0
I used to be able to create an html file and have that open in the browser as a word docx file. Is that no longer the case in Coldfusion?  I would like to build an html file an have it open up as a MS Word docx, any suggestions?

This is not working:

<cfsetting showDebugOutput="No">
<cfheader name="content-disposition" value="inline;filename=ToDoc.doc">
<cfcontent type="application/msword" reset="true">
<html>
<head>
</head>
<body>
      aaaaaaa
</body>
</html>
0
Hi,
I am looking for a AI chatbot that we can setup like a FAQ model. Response can be in the form of Text / HTML / Images / Video / PPT / PDF.

Some kind of iframe / Link that I can directly integrate in my Android App.

I am looking for some third party or subscription model where I will setup my data and I can start using it.

I have tried DialogFlow, MS Azure chatbot model. But things are not working.

Please suggest.
0
Hi!

I've got a blue linear gradient in a pseudo element and it's showing up fine everywhere (so far) except when I test on iPhone XR and iPad 6 in Browserstack.

The linear Gradient is on the Hero Image. Are you seeing the same thing? When I look on my actual iPhone 6S it looks fine!

https://sandbox.intrepidrealist.com/dopamine-fx/

.home .page-hero::after {
	position: absolute;
 	content: "";
  	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient( rgba(0, 133, 202,.5) 30%, rgb(18, 86, 121,.8) 80%);
	background-image: -webkit-linear-gradient( rgba(0, 133, 202,.5) 30%, rgb(18, 86, 121,.8) 80%);
  	opacity: 1;
	z-index: 1;
}

Open in new window

0
My HTML forms are below where checkbox are there with each and every row i want that all row disabled once form loaded . when we click on particular checkbox or multiple checkbox's then only particular row or multiple row's is enabled for update the data . hope you guys understand what exactly i need.


<form action="" method="post">
            <table id="phone" width="100%" name="phone">
                  <tr>
                        <th>Check/UnCheck</th>
                        <th>MYear</th>
                        <th>P Date</th>
                        <th>Q Date</th>
                        <th>B Date</th>
                  </tr>
                  <%
                        for (int i = 0; i < 5; i++) {
                  %>
                  <tr>
                        <td><INPUT type="checkbox" data-row="row<%=i%>" class="chkValues" id="ckbCheckAll" name="chkBox" type="checkbox" value="<%=i%>" size="50"></td>
                        <td align="left"><input class="inputText row1" type="text" name="mYear" id="mYear"  value="2020"></td>
                        <td><input class="date row<%=i%>"  id="pDate<%=i%>" name="pDate" type="text" value="24/01/2019" /></td>
                        <td><input class="date row<%=i%>" id="qDate<%=i%>" name="qDate" type="text" value="28/01/2019" /></td>
                        <td><input class="date row<%=i%>" id="bDate<%=i%>" name="bDate" type="text" value="31/01/2019" /></td>
                  </tr>
                  <%
                        }
                  %>
            </table>
            <input id="btnSubmit" type="submit" name="submit" value="submit" />
            </p>
      </form>
0
I have a website that uses coldfusion. I have a page that has a form and some input fields that are type text and have default data. If I delete the data in one input field and then go to the next field by clicking on it the data in the first field automatically reverts back to its original value.

I cannot figure out what might be causing this. Also, I have not been able to create a sample page that reproduces this error.

Does anyone have any suggestions what I can do to try and figure out what is causing this?
0
I have a HTML5/js web page that was working fine and stopped working a short time ago.  I have placed this web page temporally at: https://www.barnwellmd.com/temp/test.html so I can delete it after I close this question (it saves files on my server and sends me an email).  

The problem is when a user clicks on "Send to Dr. Office" a popup shows "<head><title>Not Acceptable!</title></head><body><h1>Not Acceptable!</h1><p>An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security.</p></body></html>" and nothing is sent.

That button calls the sendCanvas() function:
function sendCanvas()
{
      if (checkFields()) return;
      clearGray();
      createPrint();
      var testCanvas = document.getElementById("imageView");  
      var canvasData = testCanvas.toDataURL("image/png");
      //alert(canvasData);
      var ajax = new XMLHttpRequest();
      //alert ('https://www.barnwellmd.com/Uploadroutines/uploadbase64.php?name=' + document.form.ptname.value.replace(/ /g,"_"));
      ajax.open("POST",'https://www.barnwellmd.com/Uploadroutines/uploadbase64.php?name=' + document.form.ptname.value.replace(/ /g,"_"),false);
      //ajax.open("POST",'https://www.barnwellmd.com/Uploadroutines/uploadbase64.php',true);    
      ajax.setRequestHeader('Content-Type', 'canvas/upload');
      //ajax.setRequestHeader('Content-Type', 'application/upload');
      ajax.onreadystatechange=function()
      {
            if (ajax.readyState == 4)
            {
                  alert(ajax.responseText);
                  …
0
We provide an Application who can access for placing orders to Insurer , our users Identified as Licensed man(LM).
Further more ,  We have to build  a Open-APIs which allow third-party developers(TD) to use our Html5 webpages, so how to begin? Is there any resources that we can ref for design ?
TD just need to use our Html5Page for quickly online.
0
This is a weird one but thought I would ask.. I have a folder with with images and the hosted link of those images. they are located in a folder.. it is hundreds of image links. I am trying to figure out how to bulk upload the image links to spreadsheet vice doing them one at a time.. Anyone have any idea if this is  possible..

So in other words a company sent me a folder full of images and the image links.. I need to upload those images to a website via their links. In order to bulk upload them I need to get them on a spread sheet which I was hoping to do in bulk vice doing one at a  time
0
I have one Jquery[ Written in $(document).ready(function ())] on my master page which identify Input controller.

Now this Jquery calls a JavaScript function which is written in .js file and it shows Alert box when Special Character identify in Input controller.

On child page we have textbox along with submit button. There are two scenario below, in which second is giving problem.

1. When we enter special character along with some text in textbox and hit on other area of the screen Alert box comes up with proper message[Which is Correct and working as well].

2. When we enter special character along with some text in textbox and Hit on Submit, It Shows Alert box with the right message but then function on submit button got called and popup comes up which hides our Alert Box.[Now this is the Problem].

Note that, this thing is happening in EDGE browser only.
0
Hi
The following ASP.net VB.net code works in debug mode but does not work after I publish the site. Why might this be? Thanks

    Protected Sub btnContactMe_Click(sender As Object, e As EventArgs) Handles btnContactMe.Click

        Try
            Dim S As String = "Office2Web Enquiry "
            'NOTE OUNCTUATION MESSES WITH EMAILING
            S = S & "Name " & Me.txtName.Text & " Email " & Me.txtEmail.Text & " Contact Number " & Me.txtContactNumber.Text & " Company " & Me.txtCompany.Text
            S = S & " Description " & Me.TextBox1.Text
            Dim sEmailResult As String
            ''sEmailResult = oSendMailMessage("info@online-excel.com", "consulting@office2web.com.au", "murray@office2web.com.au", "", "Office2Web Enquiry", S, True)
            sEmailResult = oSendMailMessage("info@online-excel.com", "consulting@office2web.com.au", "murbro9@yahoo.com", "murray@office2web.com.au", "Office2Web Enquiry", S, True)

            If sEmailResult = "Email Success" Then
                Me.lblEmailResult.Text = "Message Sent. Thank you."
            Else
                Me.lblEmailResult.Text = "Sorry! Message not sent. " & sEmailResult
            End If
        Catch ex As Exception
            Me.lblEmailResult.Text = "Error message not sent " & ex.Message
        End Try

    End Sub

    Public Function oSendMailMessage(ByVal from As String, ByVal recepient As String, ByVal bcc As String,
                             ByVal cc As String,…
0
Hello,
I am working with a MVC web project.  I have a save button on a page that calls a javascript function when clicked.

<input type="submit" value="Save" class="btn btn-default" name="action" onclick="Confirm()" />

Open in new window


How can I make this button call the javascript function only if the status dropdown is set to selection "Closed"?

This is the **javascript**

    function Confirm() {
    var input = $("<input />");
    input.attr("type", "hidden").attr("name", "confirm_value");
        if (confirm("Do you want to save the ticket to the knowledge base archive?")) {
            input.val("Yes");
        } 
        else {
            input.val("No");
        }
    $("form")[0].appendChild(input[0]);
    }

Open in new window


This is the HTML code for the dropdown:

@Html.LabelFor(model => model.vcStatus, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.DropDownListFor(
                                        m => m.vcStatus,      
                                        Model.StatusList)     
                                        
                    @Html.ValidationMessageFor(model => model.vcStatus, "", new { @class = "text-danger" })
                </div>

Open in new window




Thank you very much for your help.
0
Hello,
I am getting my last name back as "Webster" but I would like to get JWebster(first initial of my first name and last name) or Fieldaero\jim.webster.  How could I do that?
This is the code I have:

In the Controller:
var userName = Request.RequestContext.HttpContext.User.Identity.Name;
ViewBag.Name = userName;

Open in new window


In the View:
@Html.Label((string)ViewBag.Name)

Open in new window



If I do it directly from the view with code
@Request.RequestContext.HttpContext.User.Identity.Name

Open in new window

I get what I want, that is Fieldaero\jim.webster,  but I do not know how to get the same result in the controller.  I will then use the value in the controller to execute other code.  Thank you very much for your help!
0
Hi,

I want to start saying that I am new to MVC web app.
In debug I simply get my username, then there is a label that displays it, in my case it is nsanta.  It works when I am in debug but it does not in the IIS published version.  This is the text I get in the label when I go to the website  
"IIS APPPOOL\DefaultAppPool"

This is the code that works in debug.  They all work, it is just different ways I have tried:
In the Controller:
1-
public string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;

Open in new window


2-
var testuserName = HttpContext.User.Identity.Name;

Open in new window


3-
var testanotheruser = WindowsIdentity.GetCurrent();
            var testuserName = testanotheruser.Name;
ViewBag.Name = testuserName;

Open in new window


In the View:
@Html.Label((string)ViewBag.Name)

Open in new window


Again, they all work in debug but when I go to the website it does not.  


Also, I do not know if it matters but I included a screenshot of the project properties. Another forum mentioned to set Anonymous Authentication to Disabled and Windows Authentication to Enabled.  The second screenshot shows authentication in IIS.  Please help, I do not know what else to do.
Project-Properties.JPG

Authentication.JPG
0
Hello,

I am trying to get the username in an MVC Web app which is published to an IIS, but it does not work.  
These are the 3 things I have tried:
1)
public string userName = System.Environment.UserName;

Open in new window


2)
public string userName = System.Security.Principal.WindowsIdentity.GetCurrent().Name;

Open in new window


3)
In the view:
@Html.Label((string)ViewBag.Name)

Open in new window

In the controller:
ViewBag.Name = userName;

Open in new window



It works when I debug the app locally on my machine.  Although, when I go to the website it does not get my username, instead it looks like it gets something from the IIS?  I simply would like to get the username of the person on the website and no other functionalities.  Could you please help me with this?  Thank you very much in advance.
1
Hello,
I have a save button on the edit page that calls a javascript function when clicked.

<input type="submit" value="Save" class="btn btn-default" name="action" onclick="Confirm()" />

Open in new window


How can I make this button call the javascript function only if a dropdown contains the selection "Closed"?

This is the HTML code for the dropdown:
@Html.LabelFor(model => model.vcStatus, htmlAttributes: new { @class = "control-label col-md-2" })
                <div class="col-md-10">
                    @Html.DropDownListFor(
                                        m => m.vcStatus,      
                                        Model.StatusList)     
                                        
                    @Html.ValidationMessageFor(model => model.vcStatus, "", new { @class = "text-danger" })
                </div>

Open in new window


Thank you very much.
0
I have an Ubuntu 18.04 VM which is used to supply images via a browser. This VM has it's '/var/www/html' dir mounted to a Window 2008 share on another server.

This has worked well for months and suddenly (I think after an Ubuntu update) Apache will no longer serve up files except HTML (also stored on the share). When I try to access the files in the browser I get either the message "ERR_INVALID_HTTP_RESPONSE" or a multiple lines of metadata like "content-type", then the file contents viewed as text data.

I have looked in the '/var/log/syslog' and when I try to access one of those images I get the following in entry in the log:
CIFS VFS: SMB Signature verification returned error =5

This suggests that the issue is something to do with the mounted directory / share.

My questions are:
1) Why should this happen after months of working well ?
2) How come all files produce that error except 'index.html' - since all files (inc. 'index.html) are in the shared folder
3) how can I resolve this ? I have tried a system reboot and a 'mount -a' command (which produced no errors)
0
Hi guys,

Can you help me out on how i fix the formatting on this page here where i could have 4 rows of 3 https://vendorfinance.ie/our-products/

i have attached the code here

<?php

/**
* Template Name: Products template
*/

get_header(); 
?>
<script>
$(document).ready(function(){
$(".pou6").click(function(event) {
	event.preventDefault();
    $('html, body').animate({
        scrollTop: $(".makeitu").offset().top
    }, 2000);
});	
});

</script>
<style>.header-outer{border-bottom: 2px solid #484A54;}
</style>
<div class="por1" style="position: relative;">
	<img src="<?php echo site_url(); ?>/wp-content/uploads/2019/11/product-banner.jpg" class="img-responsive pou3" />
	<div class="container pou4">
		<div class="row">
			<div class="col-md-12">
				<p class="pou1">OUR FINANCIAL PRODUCTS</p>
				<p class="pou2">At Vendor Finance, we are your one-stop-shop for all your financial requirements.<br>Check out some of our finance products below and if you have any questions,<br>feel free to contact our team. </p>
				<p class="pou5"><a href="" class="pou6">DISCOVER PRODUCTS</a> <a href="https://vendorfinance.ie/contact/" class="pou7">GET IN TOUCH</a></p>
			</div>
		</div>
	</div>
</div>
<!-- calculator -->
<div class="container makeitu">
	<div class="row">
		<div class="col-md-4 pou-dist">
			<div class="pou8" style="background:url(https://vendorfinance.ie/wp-content/uploads/2019/11/a11.jpg) no-repeat;background-size: cover;"></div>
			<div class="pou9">
				<p 

Open in new window

0

HTML

60K

Solutions

30K

Contributors

HTML (HyperText Markup Language) is the main markup language for creating web pages and other information to be displayed in a web browser, providing both the structure and content for what is sent from a web server through the use of tags. The current implementation of the HTML specification is HTML5.