-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathexample.html
184 lines (135 loc) · 5.04 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta name="DC.description" content="Document HTML example to convert in DOCX">
<meta name="author" content="Amal Amrani, amal.amrani@gmail.com">
</head>
<body>
<h1>Convert HTML to DOCX </h1>
<h2>Documento de prueba por <a href="http://amrani.es">Amal Amrani</a></h2>
<div></div>
<h3><strong>Probando docx con</strong> <strong>una negrita <em>cursiva</em> dentro</strong></h3>
<p>Lorem ipsum dolor sit amet consectetur adipiscing elit pellentesque, magnis id mus facilisi sed varius diam quisque phasellus, duis euismod tempor integer urna nec velit. Tristique blandit lacus velit natoque lectus <strong>facilisi <em>nulla</em></strong> massa, himenaeos convallis euismod nunc tincidunt gravida in sodales, habitant magnis morbi sociis sollicitudin fringilla feugiat. Ullamcorper facilisis eget leo convallis fusce cubilia vestibulum penatibus, <strong>augue id dapibus pretium</strong> proin neque ligula, pulvinar egestas risus rhoncus curabitur massa fames.</p>
<p>Tristique sed netus cubilia himenaeos nulla non nam auctor pharetra cras posuere, duis feugiat mollis ullamcorper etiam pellentesque fringilla libero interdum leo praesent, nisi sollicitudin nullam senectus vel viverra quis euismod eleifend ornare. Pellentesque fames egestas montes volutpat aliquam praesent litora auctor nisl, cum semper class tortor ad quam commodo imperdiet. Hac iaculis himenaeos montes penatibus magnis odio litora nisl, senectus morbi mattis dignissim diam neque non, eget pellentesque mi cras dis taciti pulvinar..</p>
<div> Y probando otro enlace hacia <strong><a href="http://google.es">Google</a> </strong>
Las capas <strong>pueden ir <em>anidadas</em></strong> </div>
<br />
<p><em>Aristóteles</em>
<blockquote>Nunca se alcanza la verdad total, ni nunca se está totalmente alejado de ella.</blockquote>
<blockquote>Sólo hay felicidad donde hay virtud y esfuerzo serio, pues la vida no es un juego</blockquote>
<blockquote>Es de importancia para quien desee alcanzar una certeza en su investigación, el saber dudar a tiempo</blockquote>
</p>
<div>primer div dentro de <div>otro div </div> y todo esto se terminará traduciendo en pequeños <p>párrafos como este de prueba que a su vez incluye <strong>negritas</strong> y <em>todo lo <strong>demás</strong></em></p></div>
<strong><span><strong><em>Y un enlace a</em></strong> <a href="https://keepmails.com">KeepMails</a></span></strong>
<h3><strong>En Français</strong></h3>
<p>
Mon esprit ressemble à cette île,
Et mon sort à cet océan ;
Et je suis l’habitant tranquille
De la foudre et de l’ouragan.
Je suis le proscrit qui se voile,
Qui songe, et chante, loin du bruit,
Avec la chouette et l’étoile,
La sombre chanson de la nuit.
Toi, n’es-tu pas, comme moi-même,
Flambeau dans ce monde âpre et vil,
Ame, c’est-à-dire problème,
Et femme, c’est-à-dire exil ?
<em>Victor Hugo</em>
</p>
<p dir="RTL">
<h3>وباللغة العربية</h3>
بعضنا كالحبر وبعضنا كالورق فلولا سواد بعضنا لكان البياض أصم ولولابياض بعضنا لكان السواد اعمى
<br />
ليست حقيقةُ الإنسان بما يظهرهُ لك ، بل بما لايستطيع أن يظهرهُ .لذلك إذا أردت أن تعرفه، فلا تصغِ إلى مايقوله بل إلى ما لا يقوله
<strong>خليل جبران</strong>
</p>
<h2>Lista 2 numerada</h2>
<ol>
<li>Uno</li>
<li>Dos </li>
<li>Tres</li>
</ol>
<h3>prueba con imágenes</h3>
<img src='images/photo-2.jpg' />
<hr />
<h3>Imagen desde otra ubicación. No tene permiso de acceso. No se puede convertir</h3>
<img src='http://amrani.es/images/dikra.png' />
<br />
<span> Otra imgen</span>
<img src='images/IMG_9248p.jpg' />
<strong>Y otra Lista</strong>
<ul>
<li>Uno</li>
<li>Dos </li>
<li>Tres</li>
</ul>
<div> Nuevas listas <div>Anidadas
<ul>
<li>One</li>
<li>Two </li>
<li>Three</li>
<li>Four<ul><li>A</li><li>B</li>
<li>C
<ul><li>C.1</li><li>C.2</li></ul>
</li>
</ul>
</li>
<li>Five</li>
</ul>
</div>
</div>
<br />
<ol>
<li>Un</li>
<li>deux</li>
<li>troi</li>
<li>quatre</li>
</ol>
<span>Esta es sólo una prueba, con dos listas. Numeric & Bullet list</span>
<h3>Tablas</h3>
<table>
<tr>
<td>UNO</td><td>DOS</td><td>TRES</td><td>CUATRO</td>
</tr>
</table>
<h2>Lista1</h2>
<ul><li>UNO</li><li>DOS</li></ul>
<h3>Segunda lista</h3>
<div>este contenedor contiene un párrafo, <p> dentro de este párrafo, hay una lista
<ol><li>UNO</li><li>DOS</li></ol></p>
</div>
<span><strong>Negrita en el body </strong></span>
Otra imagen
<img src="images/gauss.png" />
<h2>Probando tablas</h2>
<div> Una tabla de ejemplo anidada dentro de otro <div> contenedor
<table>
<thead>
<tr>
<td><strong>title1</strong></td>
<td><em>title2</em></td>
<td>title3</td>
<td>title4</td>
</tr>
</thead>
<tr>
<td>col1</td>
<td>col2</td>
<td>col3</td>
<td>col4</td>
</tr>
<tr>
<td>f2col1</td>
<td>f2col2</td>
<td>f2col3</td>
<td>f2col4</td>
</tr>
</table>
</div>
</div>
<br />
<img src="images/photo-1.jpg" />
</body>
</html>