Html Code Samples



Filters


for loop counter in python Django template
kishore_kumar | 2 years
{% for my_object in my_object_list %}
    {{ forloop.counter }} {# starting index 1 #}
    {{ forl
python django html
How to get first element of the list in Django template
kishore_kumar | 2 years, 4 months
<h3> Print all elements</h3>
<div>
    {% for item in my_list %}
html python django
template filters for slice string and print new lines in Django filters
kishore_kumar | 1 year, 7 months
<!-- will give first 100 characters from my_string -->
{{ my_string | slice:"100 "}}

html python django
Search options in bootstrap select , search select
kishore_kumar | 2 years, 3 months
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script sr
html bootstrap
work with react without node installation in html
harika | 2 years, 8 months
//Basic way
<!DOCTYPE html>
<html>
javascript react js html
How to get key value pairs of json object in angular js
harika | 1 year, 11 months
<html>
    <body>
        <table data-ng-repeat="(key, value) in jsonObject">
html json angular js
Render custom components without node installation
harika | 2 years, 8 months
<!DOCTYPE html>
<html>
  <head>
Copy this code into your test html and then run it. If u have worked with normal html , this also wo
react js html
Load html inside webview using react native
harika | 1 year, 1 month
// html.js
module.exports = function() { return `
<html>
Install react-native-webview using npm npm i react-native-webview --save try to seperate th
html react-native webview
How to iterate json object in angular js
harika | 1 year, 11 months
<html>
    <body>
        <table data-ng-repeat="(key, value) in jsonObject">
html json angular js
Load native javascript inside webview in react-native
harika | 1 year, 1 month
import React, { Component } from 'react';
import {View,  WebView} from 'react-native-webview';

install react-native-webview using npm npm i react-native-webview --save try to load the compo
html react-native webview